Search in sources :

Example 81 with GremlinPipeline

use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.

the class TraversalStepsTest method test_g_v2_in.

public void test_g_v2_in() {
    super.test_g_v2_in(new GremlinPipeline(g.getVertex(2)).in());
    super.test_g_v2_in(new GremlinPipeline(g.getVertex(2)).optimize(false).in());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 82 with GremlinPipeline

use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.

the class TraversalStepsTest method test_g_v1_out_out_out.

public void test_g_v1_out_out_out() {
    super.test_g_v1_out_out_out(new GremlinPipeline(g.getVertex(1)).out().out().out());
    super.test_g_v1_out_out_out(new GremlinPipeline(g.getVertex(1)).optimize(false).out().out().out());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 83 with GremlinPipeline

use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.

the class TraversalStepsTest method test_g_v1_outE_inV.

public void test_g_v1_outE_inV() {
    super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).outE().inV());
    super.test_g_v1_outE_inV(new GremlinPipeline(g.getVertex(1)).optimize(false).outE().inV());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 84 with GremlinPipeline

use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.

the class TraversalStepsTest method test_g_v1_outE.

public void test_g_v1_outE() {
    super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).outE());
    super.test_g_v1_outE(new GremlinPipeline(g.getVertex(1)).optimize(false).outE());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 85 with GremlinPipeline

use of com.tinkerpop.gremlin.java.GremlinPipeline in project gremlin by tinkerpop.

the class TraversalStepsTest method test_g_v4_bothE.

public void test_g_v4_bothE() {
    super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).bothE());
    super.test_g_v4_bothE(new GremlinPipeline(g.getVertex(4)).optimize(false).bothE());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Aggregations

GremlinPipeline (com.tinkerpop.gremlin.java.GremlinPipeline)93 Vertex (com.tinkerpop.blueprints.Vertex)28 PipeFunction (com.tinkerpop.pipes.PipeFunction)13 Pipe (com.tinkerpop.pipes.Pipe)6 HashMap (java.util.HashMap)4 Request (org.apache.atlas.catalog.Request)3 VertexWrapper (org.apache.atlas.catalog.VertexWrapper)3 ResourceDefinition (org.apache.atlas.catalog.definition.ResourceDefinition)3 AtlasGraph (org.apache.atlas.repository.graphdb.AtlasGraph)3 Test (org.testng.annotations.Test)3 LoopPipe (com.tinkerpop.pipes.branch.LoopPipe)2 PropertyFilterPipe (com.tinkerpop.pipes.filter.PropertyFilterPipe)2 Table (com.tinkerpop.pipes.util.structures.Table)2 ArrayList (java.util.ArrayList)2 HashSet (java.util.HashSet)2 List (java.util.List)2 Test (org.junit.Test)2 OException (com.orientechnologies.common.exception.OException)1 OIdentifiable (com.orientechnologies.orient.core.db.record.OIdentifiable)1 OCommandExecutionException (com.orientechnologies.orient.core.exception.OCommandExecutionException)1