Skip to content

Instantly share code, notes, and snippets.

@okram
Created September 26, 2013 21:39
Show Gist options
  • Save okram/6720988 to your computer and use it in GitHub Desktop.
Save okram/6720988 to your computer and use it in GitHub Desktop.
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