use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class ExceptStepTest method test_g_v1_out_aggregateXxX_out_exceptXxX.
public void test_g_v1_out_aggregateXxX_out_exceptXxX() {
Set<Vertex> x = new HashSet<Vertex>();
super.test_g_v1_out_aggregateXxX_out_exceptXxX(new GremlinPipeline(g.getVertex(1)).out().aggregate(x).out().except(x));
x = new HashSet<Vertex>();
super.test_g_v1_out_aggregateXxX_out_exceptXxX(new GremlinPipeline(g.getVertex(1)).optimize(false).out().aggregate(x).out().except(x));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class FilterStepTest method test_g_V_filterXtrueX.
public void test_g_V_filterXtrueX() {
super.test_g_V_filterXtrueX(new GremlinPipeline(g).V().filter(new PipeFunction<Vertex, Boolean>() {
public Boolean compute(Vertex vertex) {
return true;
}
}));
super.test_g_V_filterXtrueX(new GremlinPipeline(g.getVertices()).optimize(false).filter(new PipeFunction<Vertex, Boolean>() {
public Boolean compute(Vertex vertex) {
return true;
}
}));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class HasStepTest method test_g_V_hasXage_gt_30X.
public void test_g_V_hasXage_gt_30X() {
super.test_g_V_hasXage_gt_30X(new GremlinPipeline(g).V().has("age", T.gt, 30));
super.test_g_V_hasXage_gt_30X(new GremlinPipeline(g).V().optimize(false).has("age", T.gt, 30));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class HasStepTest method test_g_V_hasXname_markoX.
public void test_g_V_hasXname_markoX() {
super.test_g_V_hasXname_markoX(new GremlinPipeline(g).V().has("name", "marko"));
super.test_g_V_hasXname_markoX(new GremlinPipeline(g.getVertices()).optimize(false).has("name", "marko"));
}
use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.
the class HasStepTest method test_g_v1_out_hasXid_2X.
public void test_g_v1_out_hasXid_2X() {
super.test_g_v1_out_hasXid_2X(new GremlinPipeline(g.getVertex(1)).out().has("id", "2"));
super.test_g_v1_out_hasXid_2X(new GremlinPipeline(g.getVertex(1)).optimize(false).out().has("id", "2"));
}
Aggregations