Skip to content

Instantly share code, notes, and snippets.

@okram
Last active August 29, 2015 13:56
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/9104098 to your computer and use it in GitHub Desktop.
Save okram/9104098 to your computer and use it in GitHub Desktop.
public void testStuff() throws Exception {
Graph g = TinkerFactory.createClassic();
g.V().out().value("name").forEach(System.out::println);
System.out.println("----------");
g.V().out().value("name").submit(g.compute()).forEachRemaining(System.out::println);
}
///////////
lop
vadas
josh
lop
ripple
lop
----------
vadas
lop
lop
lop
josh
ripple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment