Search in sources :

Example 86 with GremlinPipeline

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

the class TraversalStepsTest method test_g_v2_inE_outV.

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

Example 87 with GremlinPipeline

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

the class OrderStepTest method test_g_V_name_orderXdecrX.

public void test_g_V_name_orderXdecrX() {
    super.test_g_V_name_orderXdecrX(new GremlinPipeline(g.getVertices()).property("name").order(TransformPipe.Order.DECR));
    super.test_g_V_name_orderXdecrX(new GremlinPipeline(g).optimize(false).V().property("name").order(TransformPipe.Order.DECR));
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 88 with GremlinPipeline

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

the class PathStepTest method test_g_v1_propertyXnameX_path.

public void test_g_v1_propertyXnameX_path() {
    super.test_g_v1_propertyXnameX_path(new GremlinPipeline(g.getVertex(1)).property("name").path());
    super.test_g_v1_propertyXnameX_path(new GremlinPipeline(g.getVertex(1)).optimize(false).property("name").path());
}
Also used : GremlinPipeline(com.tinkerpop.gremlin.java.GremlinPipeline)

Example 89 with GremlinPipeline

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

the class TraversalStepsTest method test_g_v1_outEXknowsX_inV.

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

Example 90 with GremlinPipeline

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

the class TraversalStepsTest method test_g_v2_inE.

public void test_g_v2_inE() {
    super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).inE());
    super.test_g_v2_inE(new GremlinPipeline(g.getVertex(2)).optimize(false).inE());
}
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