Modifier and Type | Class and Description |
---|---|
class |
CredentialTraversalSourceDsl |
Modifier and Type | Class and Description |
---|---|
class |
JavaTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>> |
Modifier and Type | Method and Description |
---|---|
static <S extends TraversalSource,T extends Traversal.Admin<?,?>> |
JavaTranslator.of(S traversalSource) |
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 | Method and Description |
---|---|
void |
VertexProgramStrategy.addGraphComputerStrategies(TraversalSource traversalSource) |
Modifier and Type | Class and Description |
---|---|
class |
AnonymousTraversalSource<T extends TraversalSource>
Provides a unified way to construct a
TraversalSource from the perspective of the traversal. |
static interface |
Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>
Translates bytecode to actual steps.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TraversalSource> |
AnonymousTraversalSource.traversal(Class<T> traversalSourceClass)
Constructs an
AnonymousTraversalSource which will then be configured to spawn the specified
TraversalSource . |
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.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(Configuration conf)
Deprecated.
As of release 3.3.5, replaced by
AnonymousTraversalSource.withRemote(Configuration) . |
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) . |
Constructor and Description |
---|
TranslationStrategy(TraversalSource traversalSource,
Translator translator,
boolean assertBytecode) |
Modifier and Type | Class and Description |
---|---|
class |
TraversalSourceFactory<T extends TraversalSource>
TraversalSource is not Serializable . |
Constructor and Description |
---|
DefaultTraversal(TraversalSource traversalSource) |
DefaultTraversal(TraversalSource traversalSource,
Traversal.Admin<S,E> traversal) |
ScriptTraversal(TraversalSource traversalSource,
String scriptEngine,
String script,
Object... bindings) |
Modifier and Type | Method and Description |
---|---|
TraversalSource |
GraphManager.getTraversalSource(String traversalSourceName)
Get
TraversalSource instance whose name matches traversalSourceName |
TraversalSource |
GraphManager.removeTraversalSource(String tsName)
Remove
TraversalSource by name. |
Modifier and Type | Method and Description |
---|---|
Map<String,TraversalSource> |
GraphManager.getTraversalSources()
Deprecated.
As of release 3.2.5, replaced by a combination of
GraphManager.getTraversalSourceNames() and
GraphManager.getTraversalSource(String) - note that the expectation is this method return an immutable
Map which was not the expectation prior to 3.2.5. |
Modifier and Type | Method and Description |
---|---|
void |
GraphManager.putTraversalSource(String tsName,
TraversalSource ts)
Add or update the specified
TraversalSource with the specified name. |
Modifier and Type | Method and Description |
---|---|
TraversalSource |
DefaultGraphManager.getTraversalSource(String traversalSourceName) |
TraversalSource |
DefaultGraphManager.removeTraversalSource(String tsName) |
Modifier and Type | Method and Description |
---|---|
Map<String,TraversalSource> |
DefaultGraphManager.getTraversalSources()
Deprecated.
As of release 3.2.5, replaced by a combination of
DefaultGraphManager.getTraversalSourceNames() and
DefaultGraphManager.getTraversalSource(String) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGraphManager.putTraversalSource(String tsName,
TraversalSource ts) |
Modifier and Type | Method and Description |
---|---|
default <C extends TraversalSource> |
Graph.traversal(Class<C> traversalSourceClass)
Generate a
TraversalSource using the specified TraversalSource class. |
Modifier and Type | Method and Description |
---|---|
static String |
StringFactory.traversalSourceString(TraversalSource traversalSource) |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.