Created
September 26, 2013 21:39
-
-
Save okram/6720988 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 testPipeline() { | |
TinkerGraph g = TinkerFactory.createClassic(); | |
new Gremlin(g.query().vertices()).as("x") | |
.out("knows") | |
.has("name", "vadas") | |
.back("x") | |
.value("name") | |
.sideEffect(System.out::println).iterate(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment