Uses of Interface
org.apache.tinkerpop.gremlin.process.traversal.TraversalSource
-
-
Uses of TraversalSource in org.apache.tinkerpop.gremlin.jsr223
Classes in org.apache.tinkerpop.gremlin.jsr223 with type parameters of type TraversalSource Modifier and Type Class Description class
JavaTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>
Methods in org.apache.tinkerpop.gremlin.jsr223 with type parameters of type TraversalSource Modifier and Type Method Description static <S extends TraversalSource,T extends Traversal.Admin<?,?>>
JavaTranslator<S,T>JavaTranslator. of(S traversalSource)
-
Uses of TraversalSource in org.apache.tinkerpop.gremlin.process.computer.traversal
Methods in org.apache.tinkerpop.gremlin.process.computer.traversal with parameters of type TraversalSource Modifier and Type Method Description TraversalVertexProgram.Builder
TraversalVertexProgram.Builder. traversal(TraversalSource traversalSource, String scriptEngine, String traversalScript, Object... bindings)
-
Uses of TraversalSource in org.apache.tinkerpop.gremlin.process.traversal
Classes in org.apache.tinkerpop.gremlin.process.traversal with type parameters of type TraversalSource Modifier and Type Class Description class
AnonymousTraversalSource<T extends TraversalSource>
Provides a unified way to construct aTraversalSource
from the perspective of the traversal.static interface
Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>
Translates bytecode to actual steps.Methods in org.apache.tinkerpop.gremlin.process.traversal with type parameters of type TraversalSource Modifier and Type Method Description static <T extends TraversalSource>
AnonymousTraversalSource<T>AnonymousTraversalSource. traversal(Class<T> traversalSourceClass)
Constructs anAnonymousTraversalSource
which will then be configured to spawn the specifiedTraversalSource
.Methods in org.apache.tinkerpop.gremlin.process.traversal that return TraversalSource Modifier and Type Method Description TraversalSource
TraversalSource. clone()
The clone-method should be used to create immutable traversal sources with each call to a configuration "withXXX"-method.default TraversalSource
TraversalSource. with(String key)
Provides a configuration to a traversal in the form of a key which is the same aswith(key, true)
.default TraversalSource
TraversalSource. with(String key, Object value)
Provides a configuration to a traversal in the form of a key value pair.default TraversalSource
TraversalSource. withComputer()
Add the standardGraphComputer
of the graph that will be used to execute the traversal.default TraversalSource
TraversalSource. withComputer(Class<? extends GraphComputer> graphComputerClass)
Add aGraphComputer
class used to execute the traversal.default TraversalSource
TraversalSource. withComputer(Computer computer)
Add aComputer
that will generate aGraphComputer
from theGraph
that will be used to execute the traversal.default TraversalSource
TraversalSource. withoutStrategies(Class<? extends TraversalStrategy>... traversalStrategyClasses)
Remove an arbitrary collection ofTraversalStrategy
classes from the traversal source.default <A> TraversalSource
TraversalSource. withSack(A initialValue)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(A initialValue, BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(A initialValue, UnaryOperator<A> splitOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(A initialValue, UnaryOperator<A> splitOperator, BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(Supplier<A> initialValue)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(Supplier<A> initialValue, BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(Supplier<A> initialValue, UnaryOperator<A> splitOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSack(Supplier<A> initialValue, UnaryOperator<A> splitOperator, BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSideEffect(String key, A initialValue)
Add a sideEffect to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSideEffect(String key, A initialValue, BinaryOperator<A> reducer)
Add a sideEffect to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSideEffect(String key, Supplier<A> initialValue)
Add a sideEffect to be used throughout the life of a spawnedTraversal
.default <A> TraversalSource
TraversalSource. withSideEffect(String key, Supplier<A> initialValue, BinaryOperator<A> reducer)
Add a sideEffect to be used throughout the life of a spawnedTraversal
.default TraversalSource
TraversalSource. withStrategies(TraversalStrategy... traversalStrategies)
Add an arbitrary collection ofTraversalStrategy
instances to the traversal source.Methods in org.apache.tinkerpop.gremlin.process.traversal that return types with arguments of type TraversalSource Modifier and Type Method Description default Optional<TraversalSource>
Traversal.Admin. getTraversalSource()
Gets theTraversalSource
that spawned theTraversal
instance initially if present. -
Uses of TraversalSource in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Classes in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that implement TraversalSource Modifier and Type Class Description class
GraphTraversalSource
AGraphTraversalSource
is the primary DSL of the Gremlin traversal machine. -
Uses of TraversalSource in org.apache.tinkerpop.gremlin.structure
Methods in org.apache.tinkerpop.gremlin.structure with type parameters of type TraversalSource Modifier and Type Method Description default <T extends TraversalSource>
TTransaction. begin()
Starts a transaction in the context of aGraphTraversalSource
instance.<T extends TraversalSource>
TTransaction. begin(Class<T> traversalSourceClass)
Starts a transaction in the context of a particularTraversalSource
instance.default <C extends TraversalSource>
CGraph. traversal(Class<C> traversalSourceClass)
Generate aTraversalSource
using the specifiedTraversalSource
class.
-