Skip to content

Instantly share code, notes, and snippets.

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