use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class LinkedStepTest method test_g_v1_asXaX_outXcreatedX_inXcreatedX_linkBothXcocreator_aX.
public void test_g_v1_asXaX_outXcreatedX_inXcreatedX_linkBothXcocreator_aX() {
Graph g = TinkerGraphFactory.createTinkerGraph();
super.test_g_v1_asXaX_outXcreatedX_inXcreatedX_linkBothXcocreator_aX(new GremlinPipeline(g.getVertex(1)).as("a").out("created").in("created").linkBoth("cocreator", "a"));
g = TinkerGraphFactory.createTinkerGraph();
super.test_g_v1_asXaX_outXcreatedX_inXcreatedX_linkBothXcocreator_aX(new GremlinPipeline(g.getVertex(1)).optimize(false).as("a").out("created").in("created").linkBoth("cocreator", "a"));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class TraversalStepsTest method test_g_v4_bothEX1_createdX.
public void test_g_v4_bothEX1_createdX() {
super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).bothE(1, "created"));
super.test_g_v4_bothEX1_createdX(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE(1, "created"));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class TraversalStepsTest method test_g_V_inEX2_knowsX_outV_name.
public void test_g_V_inEX2_knowsX_outV_name() {
super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).V().inE(2, "knows").outV().property("name"));
super.test_g_V_inEX2_knowsX_outV_name(new GremlinPipeline(g).optimize(false).V().inE(2, "knows").outV().property("name"));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class TraversalStepsTest method test_g_V_bothX1_createdX_name.
public void test_g_V_bothX1_createdX_name() {
super.test_g_V_bothX1_createdX_name(new GremlinPipeline(g).V().both(1, "created").property("name"));
super.test_g_V_bothX1_createdX_name(new GremlinPipeline(g).optimize(false).V().both(1, "created").property("name"));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class TraversalStepsTest method test_g_v1_out_propertyXnameX.
public void test_g_v1_out_propertyXnameX() {
super.test_g_v1_out_propertyXnameX(new GremlinPipeline(g.getVertex(1)).out().property("name"));
super.test_g_v1_out_propertyXnameX(new GremlinPipeline(g.getVertex(1)).optimize(false).out().property("name"));
}
Aggregations