Last active
August 29, 2015 13:56
-
-
Save okram/9104098 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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