Skip to content

Instantly share code, notes, and snippets.

@okram
Created October 31, 2011 21:16
Show Gist options
  • Save okram/1328981 to your computer and use it in GitHub Desktop.
Save okram/1328981 to your computer and use it in GitHub Desktop.
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