Created
October 31, 2011 21:16
-
-
Save okram/1328981 to your computer and use it in GitHub Desktop.
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
public static void main(String[] args) { | |
//Graph graph = ShareSavParser.generateShareSavGraph(new Neo4jGraph("/tmp/hmp")); | |
Graph graph = ShareSavParser.generateShareSavGraph(new TransactionalTinkerGraph()); | |
println graph; | |
def itty = ShareSavTraversals.evaluateQuery(graph, "Marco Sena", "HOSPITAL NACIONAL", -1l, -1l); | |
while (itty.hasNext()) { | |
println(itty.next()); | |
} | |
graph.shutdown(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment