Skip to content

Instantly share code, notes, and snippets.

@okram
Created Oct 31, 2011
Embed
What would you like to do?
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