Skip to content

Instantly share code, notes, and snippets.

@okram
Created November 4, 2011 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okram/1339488 to your computer and use it in GitHub Desktop.
Save okram/1339488 to your computer and use it in GitHub Desktop.
Graph graph = ShareSavParser.generateShareSavGraph(new TransactionalTinkerGraph());
def itty = ShareSavTraversals.evaluateQuery(graph, "Marco Sena", "HOSPITAL NACIONAL", 1222844400000l, 1223103600000l);
while (itty.hasNext()) {
println("here: " + itty.next());
}
itty = ShareSavTraversals.evaluateQuery(graph, "Marco Sena", "HOSPITAL NACIONAL", -1l, -1l);
while (itty.hasNext()) {
println("here2: " + itty.next());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment