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 |
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 method.
|
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
Function 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 <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 |
---|---|
TraversalSource |
ComputerTraversalEngine.Builder.create(GraphTraversalSource traversalSource)
Deprecated.
As of release 3.2.0. Please use
Graph.traversal(Class) . |
Modifier and Type | Class and Description |
---|---|
class |
TraversalSourceFactory<T extends TraversalSource>
TraversalSource is not Serializable . |
Modifier and Type | Method and Description |
---|---|
static <S,E> Traversal.Admin<S,E> |
TraversalScriptHelper.compute(Graph graph,
TraversalSource traversalSource,
String scriptEngineName,
String traversalScript,
Object... bindings)
Deprecated.
|
Constructor and Description |
---|
ScriptTraversal(TraversalSource traversalSource,
String scriptEngine,
String script,
Object... bindings) |
TraversalScriptFunction(TraversalSource traversalSource,
String scriptEngineName,
String traversalScript,
Object... bindings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,TraversalSource> |
GraphManager.getTraversalSources()
Get a list of the
TraversalSource instances and their binding names as defined by Gremlin Server
initialization scripts. |
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) . |
Modifier and Type | Method and Description |
---|---|
static String |
StringFactory.traversalSourceString(TraversalSource traversalSource) |
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.