Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.traversal(TraversalSource traversalSource,
String scriptEngine,
String traversalScript,
Object... bindings)
Deprecated.
As of release 3.2.0, replaced by
PeerPressureVertexProgram.Builder.edges(Traversal.Admin) |
Modifier and Type | Method and Description |
---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.traversal(TraversalSource traversalSource,
String scriptEngine,
String traversalScript,
Object... bindings)
Deprecated.
As of release 3.2.0, replaced by
PageRankVertexProgram.Builder.edges(Traversal.Admin) |
Modifier and Type | Method and Description |
---|---|
TraversalVertexProgram.Builder |
TraversalVertexProgram.Builder.traversal(TraversalSource traversalSource,
String scriptEngine,
String traversalScript,
Object... bindings) |
Modifier and Type | Interface and Description |
---|---|
static interface |
Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>> |
static interface |
TraversalSource.Builder<C extends TraversalSource>
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Modifier and Type | Method and 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.withBindings(Bindings bindings)
Using the provided
Bindings to create Bytecode.Binding . |
default TraversalSource |
TraversalSource.withComputer()
Add the standard
GraphComputer of the graph that will be used to execute the traversal. |
default TraversalSource |
TraversalSource.withComputer(Class<? extends GraphComputer> graphComputerClass)
Add a
GraphComputer class used to execute the traversal. |
default TraversalSource |
TraversalSource.withComputer(Computer computer)
Add a
Computer that will generate a GraphComputer from the Graph that will be used to execute the traversal. |
default TraversalSource |
TraversalSource.withoutStrategies(Class<? extends TraversalStrategy>... traversalStrategyClasses)
Remove an arbitrary collection of
TraversalStrategy classes from the traversal source. |
default TraversalSource |
TraversalSource.withRemote(org.apache.commons.configuration.Configuration conf)
Configures the
TraversalSource as a "remote" to issue the Traversal for execution elsewhere. |
TraversalSource |
TraversalSource.withRemote(org.apache.tinkerpop.gremlin.process.remote.RemoteConnection connection)
Configures the
TraversalSource as a "remote" to issue the Traversal for execution elsewhere. |
default TraversalSource |
TraversalSource.withRemote(String configFile)
Configures the
TraversalSource as a "remote" to issue the Traversal for execution elsewhere. |
default <A> TraversalSource |
TraversalSource.withSack(A initialValue)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(A initialValue,
BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(A initialValue,
UnaryOperator<A> splitOperator)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(A initialValue,
UnaryOperator<A> splitOperator,
BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(Supplier<A> initialValue)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(Supplier<A> initialValue,
BinaryOperator<A> mergeOperator)
Add a sack to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSack(Supplier<A> initialValue,
UnaryOperator<A> splitOperator)
Add a sack to be used throughout the life of a spawned
Traversal . |
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 spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSideEffect(String key,
A initialValue)
Add a sideEffect to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSideEffect(String key,
A initialValue,
BinaryOperator<A> reducer)
Add a sideEffect to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSideEffect(String key,
Supplier<A> initialValue)
Add a sideEffect to be used throughout the life of a spawned
Traversal . |
default <A> TraversalSource |
TraversalSource.withSideEffect(String key,
Supplier<A> initialValue,
BinaryOperator<A> reducer)
Add a sideEffect to be used throughout the life of a spawned
Traversal . |
default TraversalSource |
TraversalSource.withStrategies(TraversalStrategy... traversalStrategies)
Add an arbitrary collection of
TraversalStrategy instances to the traversal source. |
Modifier and Type | Class and Description |
---|---|
class |
GraphTraversalSource
A
GraphTraversalSource is the primary DSL of the Gremlin traversal machine. |
Modifier and Type | Method and Description |
---|---|
default <C extends TraversalSource> |
Graph.traversal(Class<C> traversalSourceClass)
Generate a
TraversalSource using the specified TraversalSource class. |
default <C extends TraversalSource> |
Graph.traversal(TraversalSource.Builder<C> sourceBuilder)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.