We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 5 columns, instead of 1. in line 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user1, user2, relationship, start_date, platform | |
@chupman, @pluradj, following, 1528149066, twitter | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:remote connect tinkerpop.server conf/remote.yaml session | |
:remote console | |
graph = ConfiguredGraphFactory.open("airroutes") | |
g = graph.traversal() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:remote connect tinkerpop.server conf/remote.yaml session | |
:remote console | |
g = graph.traversal() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph = JanusGraphFactory.open("conf/janusgraph-cassandra-es.properties") | |
g = graph.traversal() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host: 0.0.0.0 | |
port: 8182 | |
scriptEvaluationTimeout: 30000 | |
channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer | |
graphs: { | |
graph: conf/janusgraph.properties | |
} | |
plugins: | |
- janusgraph.imports | |
scriptEngines: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def globals = [:] | |
globals << [g : graph.traversal()] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gremlin> :history | |
... | |
513 g.V() | |
514 :help | |
515 :history | |
gremlin> :history recall 514 | |
No such property: g for class: groovysh_evaluate | |
Type ':help' or ':h' for help. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gremlin> g.V().has('code', "SFO') | |
......1> :clear | |
gremlin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph.io(graphson()).readGraph('/tmp/airroutes_us.json'); |
NewerOlder