Uses of Interface
org.apache.tinkerpop.gremlin.process.traversal.Traversal
-
-
Uses of Traversal in org.apache.tinkerpop.gremlin
Methods in org.apache.tinkerpop.gremlin with parameters of type Traversal Modifier and Type Method Description voidAbstractGremlinTest. printTraversalForm(Traversal traversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.driver.remote
Classes in org.apache.tinkerpop.gremlin.driver.remote that implement Traversal Modifier and Type Class Description classDriverRemoteTraversal<S,E>AAbstractRemoteTraversalimplementation for the Gremlin Driver. -
Uses of Traversal in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential
Subinterfaces of Traversal in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential Modifier and Type Interface Description interfaceCredentialTraversal<S,E>interfaceCredentialTraversalDsl<S,E>A DSL for managing a "credentials graph" used by Gremlin Server for simple authentication functions.Classes in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential that implement Traversal Modifier and Type Class Description classDefaultCredentialTraversal<S,E>Methods in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential with parameters of type Traversal Modifier and Type Method Description static <A> CredentialTraversal<A,Edge>__. addE(Traversal<?,String> edgeLabelTraversal)default CredentialTraversal<S,Edge>CredentialTraversal. addE(Traversal<?,String> edgeLabelTraversal)CredentialTraversal<Edge,Edge>CredentialTraversalSource. addE(Traversal edgeLabelTraversal)static <A> CredentialTraversal<A,Vertex>__. addV(Traversal<?,String> vertexLabelTraversal)default CredentialTraversal<S,Vertex>CredentialTraversal. addV(Traversal<?,String> vertexLabelTraversal)CredentialTraversal<Vertex,Vertex>CredentialTraversalSource. addV(Traversal vertexLabelTraversal)static <A> CredentialTraversal<A,A>__. and(Traversal<?,?>... andTraversals)default CredentialTraversal<S,E>CredentialTraversal. and(Traversal<?,?>... andTraversals)static <A,M,B>
CredentialTraversal<A,B>__. branch(Traversal<?,M> traversalFunction)default <M,E2>
CredentialTraversal<S,E2>CredentialTraversal. branch(Traversal<?,M> branchTraversal)default CredentialTraversal<S,E>CredentialTraversal. by(Traversal<?,?> traversal)default <V> CredentialTraversal<S,E>CredentialTraversal. by(Traversal<?,?> traversal, Comparator<V> comparator)static <A,B>
CredentialTraversal<A,B>__. call(String service, Map params, Traversal<?,Map<?,?>> childTraversal)static <A,B>
CredentialTraversal<A,B>__. call(String service, GValue<Map<?,?>> params, Traversal<A,Map<?,?>> childTraversal)static <A,B>
CredentialTraversal<A,B>__. call(String service, Traversal<?,Map<?,?>> childTraversal)default <E> CredentialTraversal<S,E>CredentialTraversal. call(String service, Map params, Traversal<?,Map<?,?>> childTraversal)default <E> CredentialTraversal<S,E>CredentialTraversal. call(String service, GValue<Map<?,?>> params, Traversal<S,Map<?,?>> childTraversal)default <E> CredentialTraversal<S,E>CredentialTraversal. call(String service, Traversal<?,Map<?,?>> childTraversal)static <A,B>
CredentialTraversal<A,B>__. choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice)static <A,B>
CredentialTraversal<A,B>__. choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)static <A,B>
CredentialTraversal<A,B>__. choose(P<A> choosePredicate, Traversal<?,B> trueChoice)static <A,B>
CredentialTraversal<A,B>__. choose(P<A> choosePredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)static <A,M,B>
CredentialTraversal<A,B>__. choose(Traversal<?,M> traversalFunction)static <A,M,B>
CredentialTraversal<A,B>__. choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice)static <A,M,B>
CredentialTraversal<A,B>__. choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(Predicate<E> choosePredicate, Traversal<?,E2> trueChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(Predicate<E> choosePredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(P<E> choosePredicate, Traversal<?,E2> trueChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(P<E> choosePredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(Traversal<?,?> traversalPredicate, Traversal<?,E2> trueChoice)default <E2> CredentialTraversal<S,E2>CredentialTraversal. choose(Traversal<?,?> traversalPredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)default <M,E2>
CredentialTraversal<S,E2>CredentialTraversal. choose(Traversal<?,M> choiceTraversal)static <A,B>
CredentialTraversal<A,B>__. coalesce(Traversal<?,B>... traversals)default <E2> CredentialTraversal<S,E2>CredentialTraversal. coalesce(Traversal<?,E2>... coalesceTraversals)static <A> CredentialTraversal<A,String>__. concat(Traversal<A,String> concatTraversal, Traversal<A,String>... otherConcatTraversals)default CredentialTraversal<S,String>CredentialTraversal. concat(Traversal<?,String> concatTraversal, Traversal<?,String>... otherConcatTraversals)static <A> CredentialTraversal<A,Long>__. dateDiff(Traversal<?,OffsetDateTime> dateTraversal)default CredentialTraversal<S,Long>CredentialTraversal. dateDiff(Traversal<?,?> dateTraversal)static <A> CredentialTraversal<A,A>__. emit(Traversal<?,?> emitTraversal)default CredentialTraversal<S,E>CredentialTraversal. emit(Traversal<?,?> emitTraversal)static <A> CredentialTraversal<A,A>__. filter(Traversal<?,?> filterTraversal)default CredentialTraversal<S,E>CredentialTraversal. filter(Traversal<?,?> filterTraversal)static <A,B>
CredentialTraversal<A,B>__. flatMap(Traversal<?,B> flatMapTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. flatMap(Traversal<?,E2> flatMapTraversal)default CredentialTraversal<S,E>CredentialTraversal. from(Traversal<?,?> fromVertex)static <A,B>
CredentialTraversal<A,B>__. local(Traversal<?,B> localTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. local(Traversal<?,E2> localTraversal)static <A,B>
CredentialTraversal<A,B>__. map(Traversal<?,B> mapTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. map(Traversal<?,E2> mapTraversal)static <A,B>
CredentialTraversal<A,Map<String,B>>__. match(Traversal<?,?>... matchTraversals)default <E2> CredentialTraversal<S,Map<String,E2>>CredentialTraversal. match(Traversal<?,?>... matchTraversals)static <A> CredentialTraversal<A,Edge>__. mergeE(Traversal<?,Map<Object,Object>> searchCreate)default CredentialTraversal<S,Edge>CredentialTraversal. mergeE(Traversal<?,Map<Object,Object>> searchCreate)static <A> CredentialTraversal<A,Vertex>__. mergeV(Traversal<?,Map<Object,Object>> searchCreate)default CredentialTraversal<S,Vertex>CredentialTraversal. mergeV(Traversal<?,Map<Object,Object>> searchCreate)static <A> CredentialTraversal<A,A>__. not(Traversal<?,?> notTraversal)default CredentialTraversal<S,E>CredentialTraversal. not(Traversal<?,?> notTraversal)default <M,E2>
CredentialTraversal<S,E>CredentialTraversal. option(M token, Traversal<?,E2> traversalOption)default <E2> CredentialTraversal<S,E>CredentialTraversal. option(Traversal<?,E2> traversalOption)static <A> CredentialTraversal<A,A>__. optional(Traversal<?,A> optionalTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. optional(Traversal<?,E2> optionalTraversal)static <A> CredentialTraversal<A,A>__. or(Traversal<?,?>... orTraversals)default CredentialTraversal<S,E>CredentialTraversal. or(Traversal<?,?>... orTraversals)static <A> CredentialTraversal<A,A>__. repeat(String loopName, Traversal<?,A> traversal)static <A> CredentialTraversal<A,A>__. repeat(Traversal<?,A> traversal)default CredentialTraversal<S,E>CredentialTraversal. repeat(String loopName, Traversal<?,E> repeatTraversal)default CredentialTraversal<S,E>CredentialTraversal. repeat(Traversal<?,E> repeatTraversal)static <A,B>
CredentialTraversal<A,B>__. select(Pop pop, Traversal<A,B> keyTraversal)static <A,B>
CredentialTraversal<A,B>__. select(Traversal<A,B> keyTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. select(Pop pop, Traversal<S,E2> keyTraversal)default <E2> CredentialTraversal<S,E2>CredentialTraversal. select(Traversal<S,E2> keyTraversal)static <A> CredentialTraversal<A,A>__. sideEffect(Traversal<?,?> sideEffectTraversal)default CredentialTraversal<S,E>CredentialTraversal. sideEffect(Traversal<?,?> sideEffectTraversal)default CredentialTraversal<S,E>CredentialTraversal. to(Traversal<?,?> toVertex)static <A,B>
CredentialTraversal<A,B>__. union(Traversal<?,B>... traversals)default <E2> CredentialTraversal<S,E2>CredentialTraversal. union(Traversal<?,E2>... unionTraversals)static <A> CredentialTraversal<A,A>__. until(Traversal<?,?> untilTraversal)default CredentialTraversal<S,E>CredentialTraversal. until(Traversal<?,?> untilTraversal)static <A> CredentialTraversal<A,A>__. where(Traversal<?,?> whereTraversal)default CredentialTraversal<S,E>CredentialTraversal. where(Traversal<?,?> whereTraversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.language.grammar
Classes in org.apache.tinkerpop.gremlin.language.grammar with type parameters of type Traversal Modifier and Type Class Description classTraversalRootVisitor<G extends Traversal>This visitor handles the cases when a new traversal is getting started.Fields in org.apache.tinkerpop.gremlin.language.grammar declared as Traversal Modifier and Type Field Description protected Traversal<?,?>TraversalTerminalMethodVisitor. traversalFields in org.apache.tinkerpop.gremlin.language.grammar with type parameters of type Traversal Modifier and Type Field Description protected DefaultGremlinBaseVisitor<Traversal>TraversalSourceSpawnMethodVisitor. anonymousVisitorConstructors in org.apache.tinkerpop.gremlin.language.grammar with parameters of type Traversal Constructor Description TerminalMethodToBytecodeVisitor(Traversal traversal)TraversalRootVisitor(GremlinAntlrToJava antlr, Traversal traversal)TraversalRootVisitor(Traversal traversal)Constructor to build on an existing traversal.TraversalTerminalMethodVisitor(Traversal<?,?> traversal)Constructor parameters in org.apache.tinkerpop.gremlin.language.grammar with type arguments of type Traversal Constructor Description TraversalSourceSpawnMethodVisitor(GraphTraversalSource traversalSource, DefaultGremlinBaseVisitor<Traversal> anonymousVisitor, GremlinAntlrToJava antlr) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process
Methods in org.apache.tinkerpop.gremlin.process with parameters of type Traversal Modifier and Type Method Description static voidAbstractGremlinProcessTest. checkHasNext(boolean expected, Traversal traversal)static <T> voidAbstractGremlinProcessTest. checkOrderedResults(List<T> expectedResults, Traversal<?,T> traversal)static <T> voidAbstractGremlinProcessTest. checkResults(List<T> expectedResults, Traversal<?,T> traversal)static <T> voidAbstractGremlinProcessTest. checkResults(Map<T,Long> expectedResults, Traversal<?,T> traversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.computer
Fields in org.apache.tinkerpop.gremlin.process.computer with type parameters of type Traversal Modifier and Type Field Description Supplier<? extends Traversal<Vertex,Edge>>MessageScope.Local. incidentTraversalMethods in org.apache.tinkerpop.gremlin.process.computer that return Traversal Modifier and Type Method Description Traversal<Vertex,Edge>MessageScope.Local.ReverseTraversalSupplier. get()Traversal<Vertex,Edge>Computer. getEdges()Traversal<Vertex,Vertex>Computer. getVertices()Methods in org.apache.tinkerpop.gremlin.process.computer that return types with arguments of type Traversal Modifier and Type Method Description Supplier<? extends Traversal<Vertex,Edge>>MessageScope.Local. getIncidentTraversal()Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Traversal Modifier and Type Method Description static IllegalArgumentExceptionGraphComputer.Exceptions. edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter)ComputerComputer. edges(Traversal<Vertex,Edge> edgeFilter)GraphComputerGraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)Add a filter that will limit which edges of the vertices are loaded from the graph source.GraphComputerGraphComputerTest.BadGraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)voidGraphFilter. setEdgeFilter(Traversal<Vertex,Edge> edgeFilter)Set the filter for selecting edges from the source graph.voidGraphFilter. setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)Set the filter for selecting vertices from the source graph.voidGraphFilter. setVertexPropertyFilter(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)Set the filter for selecting vertex properties from the vertices.static IllegalArgumentExceptionGraphComputer.Exceptions. vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter)GraphComputerGraphComputer. vertexProperties(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)Add a filter that will limit which vertex properties are loaded from the graph source.GraphComputerGraphComputerTest.BadGraphComputer. vertexProperties(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)ComputerComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)GraphComputerGraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Add a filter that will limit which vertices are loaded from the graph source.GraphComputerGraphComputerTest.BadGraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Method parameters in org.apache.tinkerpop.gremlin.process.computer with type arguments of type Traversal Modifier and Type Method Description static <M> MessageScope.Local<M>MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal)static <M> MessageScope.Local<M>MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal, BiFunction<M,Edge,M> edgeFunction) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.computer.search.path
Methods in org.apache.tinkerpop.gremlin.process.computer.search.path with parameters of type Traversal Modifier and Type Method Description ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. distanceTraversal(Traversal<Edge,Number> distanceTraversal)ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. edgeTraversal(Traversal<Vertex,Edge> edgeTraversal)ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. source(Traversal<Vertex,?> sourceVertexFilter)ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. target(Traversal<Vertex,?> targetVertexFilter) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.computer.traversal.lambda
Classes in org.apache.tinkerpop.gremlin.process.computer.traversal.lambda that implement Traversal Modifier and Type Class Description classHaltedTraversersCountTraversal -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration
Methods in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration with parameters of type Traversal Modifier and Type Method Description VertexProgramStrategy.BuilderVertexProgramStrategy.Builder. edges(Traversal<Vertex,Edge> edges)VertexProgramStrategy.BuilderVertexProgramStrategy.Builder. vertices(Traversal<Vertex,Vertex> vertices) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.remote.traversal
Subinterfaces of Traversal in org.apache.tinkerpop.gremlin.process.remote.traversal Modifier and Type Interface Description interfaceRemoteTraversal<S,E>ARemoteTraversalis returned fromRemoteConnection.submitAsync(GremlinLang).Classes in org.apache.tinkerpop.gremlin.process.remote.traversal that implement Traversal Modifier and Type Class Description classAbstractRemoteTraversal<S,E>This is a stub implementation forRemoteTraversaland requires that theAbstractRemoteTraversal.nextTraverser()method is implemented fromTraversal.Admin.classEmbeddedRemoteTraversal<S,E>Generated by theEmbeddedRemoteConnectionto help simulate a remote traversal execution within the same JVM.Constructors in org.apache.tinkerpop.gremlin.process.remote.traversal with parameters of type Traversal Constructor Description EmbeddedRemoteTraversal(Traversal<S,E> t) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.remote.traversal.step.map
Methods in org.apache.tinkerpop.gremlin.process.remote.traversal.step.map that return types with arguments of type Traversal Modifier and Type Method Description CompletableFuture<Traversal<?,E>>RemoteStep. promise()Submits the traversal asynchronously to a "remote" usingRemoteConnection.submitAsync(GremlinLang). -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal
Subinterfaces of Traversal in org.apache.tinkerpop.gremlin.process.traversal Modifier and Type Interface Description static interfaceTraversal.Admin<S,E>Methods in org.apache.tinkerpop.gremlin.process.traversal that return Traversal Modifier and Type Method Description default Traversal<S,E>Traversal. discard()Filter all traversers in the traversal.default <A,B>
Traversal<A,B>Traversal. iterate()Iterate all theTraverserinstances in the traversal.default Traversal<S,TraversalMetrics>Traversal. profile()Profile the traversal.Method parameters in org.apache.tinkerpop.gremlin.process.traversal with type arguments of type Traversal Modifier and Type Method Description default <T> CompletableFuture<T>Traversal. promise(Function<Traversal<S,E>,T> traversalFunction)Starts a promise to execute a function on the currentTraversalthat will be completed in the future. -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Subinterfaces of Traversal in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph Modifier and Type Interface Description interfaceGraphTraversal<S,E>static interfaceGraphTraversal.Admin<S,E>Exposes administrative methods that are either internal to TinkerPop or for users with advanced needs.Classes in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that implement Traversal Modifier and Type Class Description classDefaultGraphTraversal<S,E>Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Traversal Modifier and Type Method Description static <A> GraphTraversal<A,Edge>__. addE(Traversal<?,String> edgeLabelTraversal)default GraphTraversal<S,Edge>GraphTraversal. addE(Traversal<?,String> edgeLabelTraversal)GraphTraversal<Edge,Edge>GraphTraversalSource. addE(Traversal<?,String> edgeLabelTraversal)Spawns aGraphTraversalby adding a edge with a label as specified by the providedTraversal.static <A> GraphTraversal<A,Vertex>__. addV(Traversal<?,String> vertexLabelTraversal)default GraphTraversal<S,Vertex>GraphTraversal. addV(Traversal<?,String> vertexLabelTraversal)GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)Spawns aGraphTraversalby adding a vertex with the label as determined by aTraversal.static <A> GraphTraversal<A,A>__. and(Traversal<?,?>... andTraversals)default GraphTraversal<S,E>GraphTraversal. and(Traversal<?,?>... andTraversals)Ensures that all of the provided traversals yield a result.static <A,M,B>
GraphTraversal<A,B>__. branch(Traversal<?,M> traversalFunction)default <M,E2>
GraphTraversal<S,E2>GraphTraversal. branch(Traversal<?,M> branchTraversal)Split theTraverserto all the specified traversals.default GraphTraversal<S,E>GraphTraversal. by(Traversal<?,?> traversal)Theby()can be applied to a number of different step to alter their behaviors.default <V> GraphTraversal<S,E>GraphTraversal. by(Traversal<?,?> traversal, Comparator<V> comparator)Theby()can be applied to a number of different step to alter their behaviors.static <A,B>
GraphTraversal<A,B>__. call(String service, Map params, Traversal<?,Map<?,?>> childTraversal)static <A,B>
GraphTraversal<A,B>__. call(String service, GValue<Map<?,?>> params, Traversal<A,Map<?,?>> childTraversal)static <A,B>
GraphTraversal<A,B>__. call(String service, Traversal<?,Map<?,?>> childTraversal)default <E> GraphTraversal<S,E>GraphTraversal. call(String service, Map params, Traversal<?,Map<?,?>> childTraversal)Perform the specified service call with both static and dynamic parameters produced by the specified child traversal.default <E> GraphTraversal<S,E>GraphTraversal. call(String service, GValue<Map<?,?>> params, Traversal<S,Map<?,?>> childTraversal)Perform the specified service call with both static and dynamic parameters produced by the specified child traversal.default <E> GraphTraversal<S,E>GraphTraversal. call(String service, Traversal<?,Map<?,?>> childTraversal)Perform the specified service call with dynamic parameters produced by the specified child traversal.<S> GraphTraversal<S,S>GraphTraversalSource. call(String service, Map params, Traversal<S,Map> childTraversal)Spawns aGraphTraversalstarting with values produced by the specified service call with both static and dynamic parameters produced by the specified child traversal.<S> GraphTraversal<S,S>GraphTraversalSource. call(String service, GValue<Map<?,?>> params, Traversal<S,Map<?,?>> childTraversal)Spawns aGraphTraversalstarting with values produced by the specified service call with the specified static parameters.<S> GraphTraversal<S,S>GraphTraversalSource. call(String service, Traversal<S,Map> childTraversal)Spawns aGraphTraversalstarting with values produced by the specified service call with dynamic parameters produced by the specified child traversal.static <A,B>
GraphTraversal<A,B>__. choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice)static <A,B>
GraphTraversal<A,B>__. choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)static <A,B>
GraphTraversal<A,B>__. choose(P<A> choosePredicate, Traversal<?,B> trueChoice)static <A,B>
GraphTraversal<A,B>__. choose(P<A> choosePredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)static <A,M,B>
GraphTraversal<A,B>__. choose(Traversal<?,M> traversalFunction)static <A,M,B>
GraphTraversal<A,B>__. choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice)static <A,M,B>
GraphTraversal<A,B>__. choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)default <E2> GraphTraversal<S,E2>GraphTraversal. choose(Predicate<E> choosePredicate, Traversal<?,E2> trueChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then like semantics within a traversal.default <E2> GraphTraversal<S,E2>GraphTraversal. choose(Predicate<E> choosePredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else like semantics within a traversal.default <E2> GraphTraversal<S,E2>GraphTraversal. choose(P<E> choosePredicate, Traversal<?,E2> trueChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then like semantics within a traversal.default <E2> GraphTraversal<S,E2>GraphTraversal. choose(P<E> choosePredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else like semantics within a traversal.default <E2> GraphTraversal<S,E2>GraphTraversal. choose(Traversal<?,?> traversalPredicate, Traversal<?,E2> trueChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then like semantics within a traversal.default <E2> GraphTraversal<S,E2>GraphTraversal. choose(Traversal<?,?> traversalPredicate, Traversal<?,E2> trueChoice, Traversal<?,E2> falseChoice)Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else like semantics within a traversal.default <M,E2>
GraphTraversal<S,E2>GraphTraversal. choose(Traversal<?,M> choiceTraversal)Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else like semantics within a traversal.static <A,B>
GraphTraversal<A,B>__. coalesce(Traversal<?,B>... traversals)default <E2> GraphTraversal<S,E2>GraphTraversal. coalesce(Traversal<?,E2>... coalesceTraversals)Evaluates the provided traversals and returns the result of the first traversal to emit at least one object.static <A> GraphTraversal<A,String>__. concat(Traversal<A,String> concatTraversal, Traversal<A,String>... otherConcatTraversals)default GraphTraversal<S,String>GraphTraversal. concat(Traversal<?,String> concatTraversal, Traversal<?,String>... otherConcatTraversals)Concatenate values of an arbitrary number of string traversals to the incoming traverser.static <A> GraphTraversal<A,Long>__. dateDiff(Traversal<?,OffsetDateTime> dateTraversal)default GraphTraversal<S,Long>GraphTraversal. dateDiff(Traversal<?,?> dateTraversal)Returns the difference between two dates in epoch time.static <A> GraphTraversal<A,A>__. emit(Traversal<?,?> emitTraversal)default GraphTraversal<S,E>GraphTraversal. emit(Traversal<?,?> emitTraversal)Emit is used in conjunction withGraphTraversal.repeat(Traversal)to determine what objects get emit from the loop.static <A> GraphTraversal<A,A>__. filter(Traversal<?,?> filterTraversal)default GraphTraversal<S,E>GraphTraversal. filter(Traversal<?,?> filterTraversal)Map theTraverserto eithertrueorfalse, wherefalsewill not pass the traverser to the next step.static <A,B>
GraphTraversal<A,B>__. flatMap(Traversal<?,B> flatMapTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. flatMap(Traversal<?,E2> flatMapTraversal)default GraphTraversal<S,E>GraphTraversal. from(Traversal<?,?> fromVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the outgoing vertex of the newly addedEdge.static <A,B>
GraphTraversal<A,B>__. local(Traversal<?,B> localTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. local(Traversal<?,E2> localTraversal)Provides a execute a specified traversal on a single element within a stream.static <A,B>
GraphTraversal<A,B>__. map(Traversal<?,B> mapTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. map(Traversal<?,E2> mapTraversal)static <A,B>
GraphTraversal<A,Map<String,B>>__. match(Traversal<?,?>... matchTraversals)default <E2> GraphTraversal<S,Map<String,E2>>GraphTraversal. match(Traversal<?,?>... matchTraversals)static <A> GraphTraversal<A,Edge>__. mergeE(Traversal<?,Map<Object,Object>> searchCreate)default GraphTraversal<S,Edge>GraphTraversal. mergeE(Traversal<?,Map<Object,Object>> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.GraphTraversal<Edge,Edge>GraphTraversalSource. mergeE(Traversal<?,Map<Object,Object>> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.static <A> GraphTraversal<A,Vertex>__. mergeV(Traversal<?,Map<Object,Object>> searchCreate)default GraphTraversal<S,Vertex>GraphTraversal. mergeV(Traversal<?,Map<Object,Object>> searchCreate)Performs a merge (i.e.<S> GraphTraversal<S,Vertex>GraphTraversalSource. mergeV(Traversal<?,Map<Object,Object>> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.static <A> GraphTraversal<A,A>__. not(Traversal<?,?> notTraversal)default GraphTraversal<S,E>GraphTraversal. not(Traversal<?,?> notTraversal)Removes objects from the traversal stream when the traversal provided as an argument returns any objects.default <M,E2>
GraphTraversal<S,E>GraphTraversal. option(M token, Traversal<?,E2> traversalOption)This is a step modulator to aTraversalOptionParentlikechoose()ormergeV()where the provided argument associated to thetokenis applied according to the semantics of the step.default <E2> GraphTraversal<S,E>GraphTraversal. option(Traversal<?,E2> traversalOption)This step modifiesGraphTraversal.choose(Function)to specifies the available choices that might be executed.static <A> GraphTraversal<A,A>__. optional(Traversal<?,A> optionalTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. optional(Traversal<?,E2> optionalTraversal)Returns the result of the specified traversal if it yields a result, otherwise it returns the calling element.static <A> GraphTraversal<A,A>__. or(Traversal<?,?>... orTraversals)default GraphTraversal<S,E>GraphTraversal. or(Traversal<?,?>... orTraversals)Ensures that at least one of the provided traversals yield a result.static <A> GraphTraversal<A,A>__. repeat(String loopName, Traversal<?,A> traversal)static <A> GraphTraversal<A,A>__. repeat(Traversal<?,A> traversal)default GraphTraversal<S,E>GraphTraversal. repeat(String loopName, Traversal<?,E> repeatTraversal)This step is used for looping over a traversal given some break predicate and with a specified loop name.default GraphTraversal<S,E>GraphTraversal. repeat(Traversal<?,E> repeatTraversal)This step is used for looping over a traversal given some break predicate.static <A,B>
GraphTraversal<A,B>__. select(Pop pop, Traversal<A,B> keyTraversal)static <A,B>
GraphTraversal<A,B>__. select(Traversal<A,B> keyTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. select(Pop pop, Traversal<S,E2> keyTraversal)default <E2> GraphTraversal<S,E2>GraphTraversal. select(Traversal<S,E2> keyTraversal)Map theTraverserto the object specified by the key returned by thekeyTraversal.static <A> GraphTraversal<A,A>__. sideEffect(Traversal<?,?> sideEffectTraversal)default GraphTraversal<S,E>GraphTraversal. sideEffect(Traversal<?,?> sideEffectTraversal)Perform some operation on theTraverserand pass it to the next step unmodified.default GraphTraversal<S,E>GraphTraversal. to(Traversal<?,?> toVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the incoming vertex of the newly addedEdge.static <A,B>
GraphTraversal<A,B>__. union(Traversal<?,B>... traversals)default <E2> GraphTraversal<S,E2>GraphTraversal. union(Traversal<?,E2>... unionTraversals)Merges the results of an arbitrary number of traversals.<S> GraphTraversal<S,S>GraphTraversalSource. union(Traversal<?,S>... unionTraversals)Merges the results of an arbitrary number of traversals.static <A> GraphTraversal<A,A>__. until(Traversal<?,?> untilTraversal)default GraphTraversal<S,E>GraphTraversal. until(Traversal<?,?> untilTraversal)Modifies aGraphTraversal.repeat(Traversal)to determine when the loop should exit.static <A> GraphTraversal<A,A>__. where(Traversal<?,?> whereTraversal)default GraphTraversal<S,E>GraphTraversal. where(Traversal<?,?> whereTraversal)Filters the current object based on the object itself or the path history. -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.lambda
Classes in org.apache.tinkerpop.gremlin.process.traversal.lambda that implement Traversal Modifier and Type Class Description classAbstractLambdaTraversal<S,E>classCardinalityValueTraversalclassColumnTraversalclassConstantTraversal<S,E>ATraversalthat always returns a constant value.classGValueConstantTraversal<S,E>ATraversalthat always returns a constant value.classIdentityTraversal<S>classLoopTraversal<S>classPredicateTraversal<S>classTokenTraversal<S,E>classTrueTraversal<S>classValueTraversal<T,V>More efficiently extracts a value from anElementorMapto avoid strategy application costs. -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.step
-
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.step.branch
Methods in org.apache.tinkerpop.gremlin.process.traversal.step.branch with type parameters of type Traversal Modifier and Type Method Description static <A,B,C extends Traversal<A,B>>
CRepeatStep. addEmitToTraversal(C traversal, Traversal.Admin<B,?> emitPredicate)static <A,B,C extends Traversal<A,B>>
CRepeatStep. addRepeatToTraversal(C traversal, String loopName, Traversal.Admin<B,B> repeatTraversal)static <A,B,C extends Traversal<A,B>>
CRepeatStep. addRepeatToTraversal(C traversal, Traversal.Admin<B,B> repeatTraversal)static <A,B,C extends Traversal<A,B>>
CRepeatStep. addUntilToTraversal(C traversal, Traversal.Admin<B,?> untilPredicate) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.step.filter
Methods in org.apache.tinkerpop.gremlin.process.traversal.step.filter that return types with arguments of type Traversal Modifier and Type Method Description List<Traversal<S,Object>>DedupGlobalStep. getLocalChildren()Constructors in org.apache.tinkerpop.gremlin.process.traversal.step.filter with parameters of type Traversal Constructor Description AndStep(Traversal.Admin traversal, Traversal<S,?>... traversals)ConnectiveStep(Traversal.Admin traversal, Traversal<S,?>... traversals)NotStep(Traversal.Admin traversal, Traversal<S,?> notTraversal)OrStep(Traversal.Admin traversal, Traversal<S,?>... traversals)TraversalFilterStep(Traversal.Admin traversal, Traversal<S,?> filterTraversal)WhereTraversalStep(Traversal.Admin traversal, Traversal<?,?> whereTraversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.step.map
Constructors in org.apache.tinkerpop.gremlin.process.traversal.step.map with parameters of type Traversal Constructor Description AddEdgeStartStep(Traversal.Admin traversal, Traversal<?,String> edgeLabelTraversal)AddVertexStartStep(Traversal.Admin traversal, Traversal<?,String> vertexLabelTraversal)ConcatStep(Traversal.Admin traversal, Traversal<?,String> concatTraversal, Traversal<?,String>... otherConcatTraversals)DateDiffStep(Traversal.Admin traversal, Traversal<?,?> dateTraversal)MatchStep(Traversal.Admin traversal, ConnectiveStep.Connective connective, Traversal... matchTraversals)TraversalFlatMapStep(Traversal.Admin traversal, Traversal<S,E> flatMapTraversal)TraversalMapStep(Traversal.Admin traversal, Traversal<S,E> mapTraversal)TraversalSelectStep(Traversal.Admin traversal, Pop pop, Traversal<S,E> keyTraversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect
Constructors in org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect with parameters of type Traversal Constructor Description TraversalSideEffectStep(Traversal.Admin traversal, Traversal<S,?> sideEffectTraversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration
Methods in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration that return Traversal Modifier and Type Method Description Traversal<Edge,?>SubgraphStrategy. getEdgeCriterion()Traversal<Vertex,?>SubgraphStrategy. getVertexCriterion()Traversal<VertexProperty,?>SubgraphStrategy. getVertexPropertyCriterion()Methods in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration with parameters of type Traversal Modifier and Type Method Description SubgraphStrategy.BuilderSubgraphStrategy.Builder. edges(Traversal<Edge,?> edgePredicate)The traversal predicate that defines the edges to include in the subgraph.SubgraphStrategy.BuilderSubgraphStrategy.Builder. vertexProperties(Traversal<VertexProperty,?> vertexPropertyPredicate)The traversal predicate that defines the vertex properties to include in the subgraph.SubgraphStrategy.BuilderSubgraphStrategy.Builder. vertices(Traversal<Vertex,?> vertexPredicate)The traversal predicate that defines the vertices to include in the subgraph. -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.strategy.util
Methods in org.apache.tinkerpop.gremlin.process.traversal.strategy.util with parameters of type Traversal Modifier and Type Method Description static booleanStepOutputArityPredictor. hasAlwaysBoundResult(Traversal<?,?> traversal)static booleanStepOutputArityPredictor. hasMultiOutputArity(Traversal<?,?> traversal)static booleanStepOutputArityPredictor. hasSingularOutputArity(Traversal<?,?> traversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.strategy.verification
Methods in org.apache.tinkerpop.gremlin.process.traversal.strategy.verification that return Traversal Modifier and Type Method Description TraversalVerificationException. getTraversal()Constructors in org.apache.tinkerpop.gremlin.process.traversal.strategy.verification with parameters of type Traversal Constructor Description VerificationException(String message, Traversal traversal) -
Uses of Traversal in org.apache.tinkerpop.gremlin.process.traversal.util
Classes in org.apache.tinkerpop.gremlin.process.traversal.util that implement Traversal Modifier and Type Class Description classDefaultTraversal<S,E>classEmptyTraversal<S,E>classScriptTraversal<S,E>ScriptTraversal encapsulates aScriptEngineand a script which is compiled into aTraversalatTraversal.Admin.applyStrategies(). -
Uses of Traversal in org.apache.tinkerpop.gremlin.tinkergraph.process.computer
Methods in org.apache.tinkerpop.gremlin.tinkergraph.process.computer with parameters of type Traversal Modifier and Type Method Description GraphComputerTinkerGraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)GraphComputerTinkerGraphComputer. vertexProperties(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)GraphComputerTinkerGraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter) -
Uses of Traversal in org.apache.tinkerpop.gremlin.util.function
Methods in org.apache.tinkerpop.gremlin.util.function that return Traversal Modifier and Type Method Description Traversal<S,E>TraversableLambda. getTraversal()
-