Modifier and Type | Method and Description |
---|---|
static void |
AbstractGremlinTest.verifyUniqueStepIds(Traversal.Admin<?,?> traversal) |
Modifier and Type | Class and Description |
---|---|
class |
DriverRemoteTraversal<S,E>
A
AbstractRemoteTraversal implementation for the Gremlin Driver. |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinExecutor.eval(Bytecode bytecode,
Bindings boundVars,
String language,
String traversalSource)
Evaluates bytecode with bindings for a specific language into a
Traversal . |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinGroovyScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource) |
Modifier and Type | Interface and Description |
---|---|
interface |
CredentialTraversalDsl<S,E>
A DSL for managing a "credentials graph" used by Gremlin Server for simple authentication functions.
|
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 |
---|---|
default Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode)
Deprecated.
As of release 3.2.7, replaced by
GremlinScriptEngine.eval(Bytecode, String) . |
default Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode,
Bindings bindings)
Deprecated.
As of release 3.2.7, replaced by
GremlinScriptEngine.eval(Bytecode, Bindings, String) . |
Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource)
|
Traversal.Admin |
MockGremlinScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource) |
default Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode,
String traversalSource)
|
Constructor and Description |
---|
CypherStartStep(Traversal.Admin traversal,
String query,
Neo4jCypherIterator<?> cypherIterator) |
Modifier and Type | Method and Description |
---|---|
void |
Neo4jGraphStepStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin<Vertex,Edge> |
GraphFilter.getEdgeFilter()
Get the edge filter associated with this graph filter.
|
Traversal.Admin<Vertex,Vertex> |
GraphFilter.getVertexFilter()
Get the vertex filter associated with this graph filter.
|
Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal) |
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> edgeTraversal)
Deprecated.
As of release 3.2.0, replaced by
PeerPressureVertexProgram.Builder.edges(Traversal.Admin) |
Modifier and Type | Method and Description |
---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.initialRank(Traversal.Admin<Vertex,? extends Number> initialRankTraversal) |
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> traversal)
Deprecated.
As of release 3.2.0, replaced by
PageRankVertexProgram.Builder.edges(Traversal.Admin) |
Modifier and Type | Method and Description |
---|---|
static Set<MemoryComputeKey> |
MemoryTraversalSideEffects.getMemoryComputeKeys(Traversal.Admin<?,?> traversal) |
static ProgramPhase |
MemoryTraversalSideEffects.getMemorySideEffectsPhase(Traversal.Admin<?,?> traversal) |
static void |
MemoryTraversalSideEffects.setMemorySideEffects(Traversal.Admin<?,?> traversal,
Memory memory,
ProgramPhase phase) |
TraversalVertexProgram.Builder |
TraversalVertexProgram.Builder.traversal(Traversal.Admin<?,?> traversal) |
Modifier and Type | Class and Description |
---|---|
class |
HaltedTraversersCountTraversal |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<?,?>> |
TraversalVertexProgramStep.getGlobalChildren() |
List<Traversal.Admin<Vertex,Edge>> |
PeerPressureVertexProgramStep.getLocalChildren() |
List<Traversal.Admin<Vertex,Edge>> |
PageRankVertexProgramStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
void |
PeerPressureVertexProgramStep.modulateBy(Traversal.Admin<?,?> edgeTraversal) |
void |
PageRankVertexProgramStep.modulateBy(Traversal.Admin<?,?> edgeTraversal) |
void |
TraversalVertexProgramStep.setComputerTraversal(Traversal.Admin<?,?> computerTraversal) |
void |
TraversalVertexProgramStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
PeerPressureVertexProgramStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
PageRankVertexProgramStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
Constructor and Description |
---|
ComputerResultStep(Traversal.Admin traversal) |
PageRankVertexProgramStep(Traversal.Admin traversal,
double alpha) |
PeerPressureVertexProgramStep(Traversal.Admin traversal) |
ProgramVertexProgramStep(Traversal.Admin traversal,
VertexProgram vertexProgram) |
TraversalVertexProgramStep(Traversal.Admin traversal,
Traversal.Admin<?,?> computerTraversal) |
TraversalVertexProgramStep(Traversal.Admin traversal,
Traversal.Admin<?,?> computerTraversal) |
VertexProgramStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
void |
VertexProgramStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
ComputerFinalizationStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
protected static Traversal.Admin<Vertex,Edge> |
GraphFilterStrategy.getEdgeFilter(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
GraphFilterStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
MessagePassingReductionStrategy.apply(Traversal.Admin<?,?> traversal) |
protected static Traversal.Admin<Vertex,Edge> |
GraphFilterStrategy.getEdgeFilter(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
static <S,E> Traversal.Admin<S,E> |
VertexProgramHelper.reverse(Traversal.Admin<S,E> traversal) |
Modifier and Type | Method and Description |
---|---|
static <S,E> Traversal.Admin<S,E> |
VertexProgramHelper.reverse(Traversal.Admin<S,E> traversal) |
Modifier and Type | Interface and Description |
---|---|
interface |
RemoteTraversal<S,E>
A
RemoteTraversal is returned from RemoteConnection.submitAsync(Bytecode) . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRemoteTraversal<S,E>
This is a stub implementation for
RemoteTraversal and requires that the AbstractRemoteTraversal.nextTraverser() method
is implemented from Traversal.Admin . |
class |
EmbeddedRemoteTraversal<S,E>
Generated by the
EmbeddedRemoteConnection to help simulate a remote traversal execution within the same JVM. |
Modifier and Type | Method and Description |
---|---|
<S2,E2> Traversal.Admin<S2,E2> |
AbstractRemoteTraversal.addStep(int index,
Step<?,?> step) |
Traversal.Admin<S,E> |
AbstractRemoteTraversal.clone() |
<S2,E2> Traversal.Admin<S2,E2> |
AbstractRemoteTraversal.removeStep(int index) |
Constructor and Description |
---|
RemoteStep(Traversal.Admin traversal,
RemoteConnection remoteConnection) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Interface and Description |
---|---|
static interface |
Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>
Translates bytecode to actual steps.
|
Modifier and Type | Method and Description |
---|---|
<S2,E2> Traversal.Admin<S2,E2> |
Traversal.Admin.addStep(int index,
Step<?,?> step)
Add a
Step to an arbitrary point in the traversal. |
default <E2> Traversal.Admin<S,E2> |
Traversal.Admin.addStep(Step<?,E2> step)
Add a
Step to the end of the traversal. |
default Traversal.Admin<S,E> |
Traversal.asAdmin()
Get access to administrative methods of the traversal via its accompanying
Traversal.Admin . |
Traversal.Admin<S,E> |
Traversal.Admin.clone()
Cloning is used to duplicate the traversal typically in OLAP environments.
|
<A,B> Traversal.Admin<A,B> |
Step.getTraversal()
Get the
Traversal.Admin that this step is contained within. |
<S2,E2> Traversal.Admin<S2,E2> |
Traversal.Admin.removeStep(int index)
Remove a
Step from the traversal. |
default <S2,E2> Traversal.Admin<S2,E2> |
Traversal.Admin.removeStep(Step<?,?> step)
Remove a
Step from the traversal. |
Modifier and Type | Method and Description |
---|---|
void |
TraversalStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
TraversalStrategies.applyStrategies(Traversal.Admin<?,?> traversal)
|
default boolean |
Traversal.Admin.equals(Traversal.Admin<S,E> other) |
void |
Step.setTraversal(Traversal.Admin<?,?> traversal)
Set the
Traversal that this step is contained within. |
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphTraversal.Admin<S,E> |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGraphTraversal<S,E> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLambdaTraversal<S,E> |
class |
ColumnTraversal |
class |
ConstantTraversal<S,E> |
class |
ElementValueTraversal<V> |
class |
IdentityTraversal<S> |
class |
LoopTraversal<S> |
class |
TokenTraversal<S extends Element,E> |
class |
TrueTraversal<S> |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin<S,E> |
AbstractLambdaTraversal.bypassTraversal |
Modifier and Type | Method and Description |
---|---|
<S2,E2> Traversal.Admin<S2,E2> |
AbstractLambdaTraversal.addStep(int index,
Step<?,?> step) |
Traversal.Admin<S,E> |
AbstractLambdaTraversal.clone() |
<S2,E2> Traversal.Admin<S2,E2> |
AbstractLambdaTraversal.removeStep(int index) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLambdaTraversal.setBypassTraversal(Traversal.Admin<S,E> bypassTraversal) |
Modifier and Type | Method and Description |
---|---|
default <S,E> Traversal.Admin<S,E> |
TraversalParent.integrateChild(Traversal.Admin<?,?> childTraversal) |
Modifier and Type | Method and Description |
---|---|
default <S,E> List<Traversal.Admin<S,E>> |
TraversalParent.getGlobalChildren() |
default <S,E> List<Traversal.Admin<S,E>> |
TraversalParent.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
void |
ComparatorHolder.addComparator(Traversal.Admin<S,C> traversal,
Comparator<C> comparator)
Add a
Traversal -based Comparator to the holder. |
default void |
FromToModulating.addFrom(Traversal.Admin<?,?> fromTraversal) |
default void |
TraversalParent.addGlobalChild(Traversal.Admin<?,?> globalChildTraversal) |
void |
TraversalOptionParent.addGlobalChildOption(M pickToken,
Traversal.Admin<S,E> traversalOption) |
default void |
TraversalParent.addLocalChild(Traversal.Admin<?,?> localChildTraversal) |
default void |
FromToModulating.addTo(Traversal.Admin<?,?> toTraversal) |
default <S,E> Traversal.Admin<S,E> |
TraversalParent.integrateChild(Traversal.Admin<?,?> childTraversal) |
default void |
ByModulating.modulateBy(Traversal.Admin<?,?> traversal) |
default void |
ByModulating.modulateBy(Traversal.Admin<?,?> traversal,
Comparator comparator) |
default void |
TraversalParent.removeGlobalChild(Traversal.Admin<?,?> globalChildTraversal) |
default void |
TraversalParent.removeLocalChild(Traversal.Admin<?,?> localChildTraversal) |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin<S,M> |
BranchStep.branchTraversal |
Modifier and Type | Field and Description |
---|---|
protected Map<Object,List<Traversal.Admin<S,E>>> |
BranchStep.traversalOptions |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin<S,?> |
RepeatStep.getEmitTraversal() |
Traversal.Admin<S,S> |
RepeatStep.getRepeatTraversal() |
Traversal.Admin<S,?> |
RepeatStep.getUntilTraversal() |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<S,S>> |
RepeatStep.getGlobalChildren() |
List<Traversal.Admin<S,E>> |
BranchStep.getGlobalChildren() |
List<Traversal.Admin<S,E>> |
LocalStep.getLocalChildren() |
List<Traversal.Admin<S,?>> |
RepeatStep.getLocalChildren() |
List<Traversal.Admin<S,M>> |
BranchStep.getLocalChildren() |
List<Traversal.Admin<S,S>> |
OptionalStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
static <A,B,C extends Traversal<A,B>> |
RepeatStep.addEmitToTraversal(C traversal,
Traversal.Admin<B,?> emitPredicate) |
void |
ChooseStep.addGlobalChildOption(M pickToken,
Traversal.Admin<S,E> traversalOption) |
void |
BranchStep.addGlobalChildOption(M pickToken,
Traversal.Admin<S,E> traversalOption) |
void |
UnionStep.addGlobalChildOption(TraversalOptionParent.Pick pickToken,
Traversal.Admin<S,E> traversalOption) |
static <A,B,C extends Traversal<A,B>> |
RepeatStep.addRepeatToTraversal(C traversal,
Traversal.Admin<B,B> repeatTraversal) |
static <A,B,C extends Traversal<A,B>> |
RepeatStep.addUntilToTraversal(C traversal,
Traversal.Admin<B,?> untilPredicate) |
void |
BranchStep.setBranchTraversal(Traversal.Admin<S,M> branchTraversal) |
void |
RepeatStep.setEmitTraversal(Traversal.Admin<S,?> emitTraversal) |
void |
RepeatStep.setRepeatTraversal(Traversal.Admin<S,S> repeatTraversal) |
void |
LocalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
RepeatStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
BranchStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
OptionalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
RepeatStep.setUntilTraversal(Traversal.Admin<S,?> untilTraversal) |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin<?,?> |
WhereTraversalStep.whereTraversal |
Modifier and Type | Field and Description |
---|---|
protected List<Traversal.Admin<S,?>> |
ConnectiveStep.traversals |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<S,?>> |
TraversalFilterStep.getLocalChildren() |
List<Traversal.Admin<S,?>> |
ConnectiveStep.getLocalChildren() |
List<Traversal.Admin<?,?>> |
WhereTraversalStep.getLocalChildren() |
List<Traversal.Admin<Object,Object>> |
PathFilterStep.getLocalChildren() |
List<Traversal.Admin<S,Number>> |
SampleGlobalStep.getLocalChildren() |
List<Traversal.Admin<S,?>> |
NotStep.getLocalChildren() |
List<Traversal.Admin<S,?>> |
WherePredicateStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectiveStep.addLocalChild(Traversal.Admin<?,?> localChildTraversal) |
void |
DedupGlobalStep.modulateBy(Traversal.Admin<?,?> dedupTraversal) |
void |
PathFilterStep.modulateBy(Traversal.Admin<?,?> pathTraversal) |
void |
SampleGlobalStep.modulateBy(Traversal.Admin<?,?> probabilityTraversal) |
void |
WherePredicateStep.modulateBy(Traversal.Admin<?,?> traversal) |
void |
TraversalFilterStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
ConnectiveStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
DedupGlobalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
WhereTraversalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
PathFilterStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
SampleGlobalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
NotStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
WherePredicateStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin<Element,? extends Property> |
PropertyMapStep.propertyTraversal |
Traversal.Admin<Object,Object> |
MatchStep.CountMatchAlgorithm.Bundle.traversal |
Modifier and Type | Field and Description |
---|---|
static Function<List<Traversal.Admin<Object,Object>>,IllegalStateException> |
MatchStep.MatchAlgorithm.UNMATCHABLE_PATTERN |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin<Object,Object> |
MatchStep.GreedyMatchAlgorithm.apply(Traverser.Admin<Object> traverser) |
Traversal.Admin<Object,Object> |
MatchStep.CountMatchAlgorithm.apply(Traverser.Admin<Object> traverser) |
static <S,E> Traversal.Admin<S,E> |
GroupStep.convertValueTraversal(Traversal.Admin<S,E> valueTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
OrderGlobalStep.addComparator(Traversal.Admin<S,C> traversal,
Comparator<C> comparator) |
void |
OrderLocalStep.addComparator(Traversal.Admin<S,C> traversal,
Comparator<C> comparator) |
void |
AddEdgeStep.addFrom(Traversal.Admin<?,?> fromObject) |
void |
AddEdgeStartStep.addFrom(Traversal.Admin<?,?> fromObject) |
void |
MatchStep.addGlobalChild(Traversal.Admin<?,?> globalChildTraversal) |
void |
GroupCountStep.addLocalChild(Traversal.Admin<?,?> groupTraversal) |
void |
AddEdgeStep.addTo(Traversal.Admin<?,?> toObject) |
void |
AddEdgeStartStep.addTo(Traversal.Admin<?,?> toObject) |
static <S,E> Traversal.Admin<S,E> |
GroupStep.convertValueTraversal(Traversal.Admin<S,E> valueTraversal) |
static <S,V> Barrier |
GroupStep.determineBarrierStep(Traversal.Admin<S,V> traversal)
Determines the first (non-local) barrier step in the provided traversal.
|
static <K,V> Map<K,V> |
GroupStep.doFinalReduction(Map<K,Object> map,
Traversal.Admin<?,V> valueTraversal) |
protected MatchStep.CountMatchAlgorithm.Bundle |
MatchStep.CountMatchAlgorithm.getBundle(Traversal.Admin<Object,Object> traversal) |
static Optional<String> |
MatchStep.Helper.getEndLabel(Traversal.Admin<Object,Object> traversal) |
static Set<String> |
MatchStep.Helper.getStartLabels(Traversal.Admin<Object,Object> traversal) |
static MatchStep.TraversalType |
MatchStep.Helper.getTraversalType(Traversal.Admin<Object,Object> traversal) |
static boolean |
MatchStep.Helper.hasEndLabel(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
static boolean |
MatchStep.Helper.hasExecutedTraversal(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
static boolean |
MatchStep.Helper.hasStartLabels(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
void |
ProjectStep.modulateBy(Traversal.Admin<?,?> selectTraversal) |
void |
TraversalSelectStep.modulateBy(Traversal.Admin<?,?> selectTraversal) |
void |
SelectStep.modulateBy(Traversal.Admin<?,?> selectTraversal) |
void |
OrderGlobalStep.modulateBy(Traversal.Admin<?,?> traversal) |
void |
MathStep.modulateBy(Traversal.Admin<?,?> selectTraversal) |
void |
PathStep.modulateBy(Traversal.Admin<?,?> pathTraversal) |
void |
GroupCountStep.modulateBy(Traversal.Admin<?,?> keyTraversal) |
void |
SelectOneStep.modulateBy(Traversal.Admin<?,?> selectTraversal) |
void |
TreeStep.modulateBy(Traversal.Admin<?,?> treeTraversal) |
void |
OrderLocalStep.modulateBy(Traversal.Admin<?,?> traversal) |
void |
GroupStep.modulateBy(Traversal.Admin<?,?> kvTraversal) |
void |
OrderGlobalStep.modulateBy(Traversal.Admin<?,?> traversal,
Comparator comparator) |
void |
OrderLocalStep.modulateBy(Traversal.Admin<?,?> traversal,
Comparator comparator) |
default void |
MatchStep.MatchAlgorithm.recordEnd(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
void |
MatchStep.CountMatchAlgorithm.recordEnd(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
default void |
MatchStep.MatchAlgorithm.recordStart(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
void |
MatchStep.CountMatchAlgorithm.recordStart(Traverser.Admin<Object> traverser,
Traversal.Admin<Object,Object> traversal) |
void |
MatchStep.removeGlobalChild(Traversal.Admin<?,?> globalChildTraversal) |
void |
TraversalSelectStep.removeLocalChild(Traversal.Admin<?,?> traversal) |
void |
SelectOneStep.removeLocalChild(Traversal.Admin<?,?> traversal) |
void |
PropertyMapStep.setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal) |
void |
ProjectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TraversalSelectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
SelectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
PropertyMapStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AddVertexStartStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
OrderGlobalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
MathStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
PathStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
GroupCountStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
SelectOneStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
CoalesceStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TraversalMapStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TraversalFlatMapStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
MatchStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AddEdgeStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AddVertexStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TreeStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
OrderLocalStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
GroupStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AddEdgeStartStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
Modifier and Type | Method and Description |
---|---|
static String |
MatchStep.Helper.computeStartLabel(List<Traversal.Admin<Object,Object>> traversals) |
void |
MatchStep.MatchAlgorithm.initialize(TraversalEngine.Type traversalEngineType,
List<Traversal.Admin<Object,Object>> traversals) |
void |
MatchStep.GreedyMatchAlgorithm.initialize(TraversalEngine.Type traversalEngineType,
List<Traversal.Admin<Object,Object>> traversals) |
void |
MatchStep.CountMatchAlgorithm.initialize(TraversalEngine.Type traversalEngineType,
List<Traversal.Admin<Object,Object>> traversals) |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<S,B>> |
SackValueStep.getLocalChildren() |
List<Traversal.Admin<S,Object>> |
AggregateStep.getLocalChildren() |
List<Traversal.Admin<S,?>> |
TraversalSideEffectStep.getLocalChildren() |
List<Traversal.Admin<S,E>> |
GroupCountSideEffectStep.getLocalChildren() |
List<Traversal.Admin<Object,Object>> |
TreeSideEffectStep.getLocalChildren() |
List<Traversal.Admin<S,Object>> |
StoreStep.getLocalChildren() |
List<Traversal.Admin<?,?>> |
GroupSideEffectStep.getLocalChildren() |
<S,E> List<Traversal.Admin<S,E>> |
AddPropertyStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
void |
GroupCountSideEffectStep.addLocalChild(Traversal.Admin<?,?> groupTraversal) |
void |
SackValueStep.modulateBy(Traversal.Admin<?,?> sackTraversal) |
void |
AggregateStep.modulateBy(Traversal.Admin<?,?> aggregateTraversal) |
void |
GroupCountSideEffectStep.modulateBy(Traversal.Admin<?,?> keyTraversal) |
void |
TreeSideEffectStep.modulateBy(Traversal.Admin<?,?> treeTraversal) |
void |
StoreStep.modulateBy(Traversal.Admin<?,?> storeTraversal) |
void |
GroupSideEffectStep.modulateBy(Traversal.Admin<?,?> kvTraversal) |
void |
SackValueStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AggregateStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TraversalSideEffectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
AddPropertyStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
GroupCountSideEffectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
TreeSideEffectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
StoreStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
void |
GroupSideEffectStep.setTraversal(Traversal.Admin<?,?> parentTraversal) |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin |
AbstractStep.traversal |
Modifier and Type | Method and Description |
---|---|
<A,B> Traversal.Admin<A,B> |
EmptyStep.getTraversal() |
<A,B> Traversal.Admin<A,B> |
AbstractStep.getTraversal() |
Modifier and Type | Method and Description |
---|---|
<S,E> List<Traversal.Admin<S,E>> |
Parameters.getTraversals()
Gets all the
Traversal.Admin objects in the map of parameters. |
Modifier and Type | Method and Description |
---|---|
void |
EmptyStep.setTraversal(Traversal.Admin<?,?> traversal) |
void |
AbstractStep.setTraversal(Traversal.Admin<?,?> traversal) |
Constructor and Description |
---|
AbstractStep(Traversal.Admin traversal) |
CollectingBarrierStep(Traversal.Admin traversal) |
CollectingBarrierStep(Traversal.Admin traversal,
int maxBarrierSize) |
ComputerAwareStep(Traversal.Admin traversal) |
EndStep(Traversal.Admin traversal) |
ProfileStep(Traversal.Admin traversal) |
ReducingBarrierStep(Traversal.Admin traversal) |
RequirementsStep(Traversal.Admin traversal,
Set<TraverserRequirement> requirements) |
SupplyingBarrierStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
void |
PartitionStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
ElementIdStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
SackStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
SubgraphStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
HaltedTraverserStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
ConnectiveStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
EventStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
SideEffectStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
RequirementsStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
TranslationStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
MatchAlgorithmStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
ProfileStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
IncidentToAdjacentStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
OrderLimitStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
RepeatUnrollStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
PathRetractionStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
PathProcessorStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
InlineFilterStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
MatchPredicateStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
IdentityRemovalStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
LazyBarrierStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
AdjacentToIncidentStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
CountStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
FilterRankingStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
EarlyLimitStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
EdgeLabelVerificationStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
ReadOnlyStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
ComputerVerificationStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
LambdaRestrictionStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
StandardVerificationStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTraversal<S,E> |
class |
EmptyTraversal<S,E> |
class |
ScriptTraversal<S,E>
ScriptTraversal encapsulates a
ScriptEngine and a script which is compiled into a Traversal at Admin#applyStrategies() . |
Modifier and Type | Method and Description |
---|---|
static <T extends Traversal.Admin<?,?>> |
TraversalHelper.addHasContainer(T traversal,
HasContainer hasContainer)
Used to left-fold a
HasContainer to a HasContainerHolder if it exists. |
Modifier and Type | Method and Description |
---|---|
<S2,E2> Traversal.Admin<S2,E2> |
EmptyTraversal.addStep(int index,
Step<?,?> step) |
<S2,E2> Traversal.Admin<S2,E2> |
DefaultTraversal.addStep(int index,
Step<?,?> step) |
<E2> Traversal.Admin<S,E2> |
EmptyTraversal.addStep(Step<?,E2> step) |
Traversal.Admin<S,E> |
TraversalClassFunction.apply(Graph graph) |
Traversal.Admin<S,E> |
TraversalObjectFunction.apply(Graph graph) |
Traversal.Admin<S,E> |
EmptyTraversal.asAdmin() |
Traversal.Admin<S,E> |
DefaultTraversal.asAdmin() |
Traversal.Admin<S,E> |
PureTraversal.get() |
Traversal.Admin<?,?> |
TraversalExplanation.getOriginalTraversal()
Get the original
Traversal used to create this explanation. |
Traversal.Admin<S,E> |
PureTraversal.getPure() |
static Traversal.Admin<?,?> |
TraversalHelper.getRootTraversal(Traversal.Admin<?,?> traversal) |
Traversal.Admin<S,E> |
TraversalMatrix.getTraversal() |
Traversal.Admin<A,B> |
TraversalRing.next() |
<S2,E2> Traversal.Admin<S2,E2> |
EmptyTraversal.removeStep(int index) |
<S2,E2> Traversal.Admin<S2,E2> |
DefaultTraversal.removeStep(int index) |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<A,B>> |
TraversalRing.getTraversals() |
Modifier and Type | Method and Description |
---|---|
void |
TraversalRing.addTraversal(Traversal.Admin<A,B> traversal) |
static boolean |
TraversalHelper.anyStepRecursively(Predicate<Step> predicate,
Traversal.Admin<?,?> traversal)
|
static <S,E> E |
TraversalUtil.apply(S start,
Traversal.Admin<S,E> traversal) |
static <S,E> E |
TraversalUtil.apply(Traverser.Admin<S> traverser,
Traversal.Admin<S,E> traversal) |
static <S,E> Iterator<E> |
TraversalUtil.applyAll(S start,
Traversal.Admin<S,E> traversal) |
static <S,E> Iterator<E> |
TraversalUtil.applyAll(Traverser.Admin<S> traverser,
Traversal.Admin<S,E> traversal) |
static <S,E> E |
TraversalUtil.applyNullable(S start,
Traversal.Admin<S,E> traversal) |
static <S,E> E |
TraversalUtil.applyNullable(Traverser.Admin<S> traverser,
Traversal.Admin<S,E> traversal) |
static void |
TraversalHelper.applySingleLevelStrategies(Traversal.Admin<?,?> parentTraversal,
Traversal.Admin<?,?> childTraversal,
Class<? extends TraversalStrategy> stopAfterStrategy) |
static void |
TraversalHelper.applySingleLevelStrategies(Traversal.Admin<?,?> parentTraversal,
Traversal.Admin<?,?> childTraversal,
Class<? extends TraversalStrategy> stopAfterStrategy) |
void |
EmptyTraversalStrategies.applyStrategies(Traversal.Admin<?,?> traversal) |
void |
DefaultTraversalStrategies.applyStrategies(Traversal.Admin<?,?> traversal) |
static void |
TraversalHelper.applyTraversalRecursively(Consumer<Traversal.Admin<?,?>> consumer,
Traversal.Admin<?,?> traversal)
|
static <S> Optional<S> |
TraversalHelper.getFirstStepOfAssignableClass(Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static Set<String> |
TraversalHelper.getLabels(Traversal.Admin<?,?> traversal) |
static <S> Optional<S> |
TraversalHelper.getLastStepOfAssignableClass(Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static Traversal.Admin<?,?> |
TraversalHelper.getRootTraversal(Traversal.Admin<?,?> traversal) |
static <S> List<S> |
TraversalHelper.getStepsOfAssignableClass(Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static <S> List<S> |
TraversalHelper.getStepsOfAssignableClassRecursively(Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static <S> List<S> |
TraversalHelper.getStepsOfAssignableClassRecursively(Scope scope,
Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static <S> List<S> |
TraversalHelper.getStepsOfClass(Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static Set<Scoping.Variable> |
TraversalHelper.getVariableLocations(Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.hasAllStepsOfClass(Traversal.Admin<?,?> traversal,
Class<?>... classesToCheck) |
static boolean |
TraversalHelper.hasLabels(Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.hasStepOfAssignableClass(Class superClass,
Traversal.Admin<?,?> traversal)
Determine if the traversal has a step of an assignable class.
|
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Class stepClass,
Traversal.Admin<?,?> traversal)
Determine if the traversal has a step of an assignable class in the current
Traversal and its
local and global child traversals. |
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Collection<Class> stepClasses,
Traversal.Admin<?,?> traversal)
Determine if the traversal has any of the supplied steps of an assignable class in the current
Traversal
and its global or local child traversals. |
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Scope scope,
Class stepClass,
Traversal.Admin<?,?> traversal)
|
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Scope scope,
Collection<Class> stepClasses,
Traversal.Admin<?,?> traversal)
|
static boolean |
TraversalHelper.hasStepOfClass(Class stepClass,
Traversal.Admin<?,?> traversal)
Determine if the traversal has a step of a particular class.
|
static boolean |
TraversalHelper.hasStepOfClass(Traversal.Admin<?,?> traversal,
Class<?>... classesToCheck) |
static <S,E> void |
TraversalHelper.insertAfterStep(Step<S,E> insertStep,
Step<?,S> beforeStep,
Traversal.Admin<?,?> traversal)
Insert a step after a specified step instance.
|
static <S,E> void |
TraversalHelper.insertBeforeStep(Step<S,E> insertStep,
Step<E,?> afterStep,
Traversal.Admin<?,?> traversal)
Insert a step before a specified step instance.
|
static <S,E> Step<?,E> |
TraversalHelper.insertTraversal(int insertIndex,
Traversal.Admin<S,E> insertTraversal,
Traversal.Admin<?,?> traversal) |
static <S,E> Step<?,E> |
TraversalHelper.insertTraversal(int insertIndex,
Traversal.Admin<S,E> insertTraversal,
Traversal.Admin<?,?> traversal) |
static <S,E> Step<?,E> |
TraversalHelper.insertTraversal(Step<?,S> previousStep,
Traversal.Admin<S,E> insertTraversal,
Traversal.Admin<?,?> traversal) |
static <S,E> Step<?,E> |
TraversalHelper.insertTraversal(Step<?,S> previousStep,
Traversal.Admin<S,E> insertTraversal,
Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.isGlobalChild(Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.isLocalProperties(Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.isLocalStarGraph(Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.onGraphComputer(Traversal.Admin<?,?> traversal) |
static void |
TraversalHelper.reIdSteps(StepPosition stepPosition,
Traversal.Admin<?,?> traversal) |
static void |
TraversalHelper.removeAllSteps(Traversal.Admin<?,?> traversal) |
static <S,E> void |
TraversalHelper.removeToTraversal(Step<S,?> startStep,
Step<?,E> endStep,
Traversal.Admin<S,E> newTraversal) |
static <S,E> void |
TraversalHelper.replaceStep(Step<S,E> removeStep,
Step<S,E> insertStep,
Traversal.Admin<?,?> traversal)
Replace a step with a new step.
|
void |
DefaultTraversalMetrics.setMetrics(Traversal.Admin traversal,
boolean onGraphComputer)
Extracts metrics from the provided
traversal and computes metrics. |
static <S,E> int |
TraversalHelper.stepIndex(Step<S,E> step,
Traversal.Admin<?,?> traversal)
Gets the index of a particular step in the
Traversal . |
static <S,E> void |
PureTraversal.storeState(Configuration configuration,
String configurationKey,
Traversal.Admin<S,E> traversal) |
static <S,E> boolean |
TraversalUtil.test(S start,
Traversal.Admin<S,E> traversal) |
static <S,E> boolean |
TraversalUtil.test(S start,
Traversal.Admin<S,E> traversal,
E end) |
static <S,E> boolean |
TraversalUtil.test(Traverser.Admin<S> traverser,
Traversal.Admin<S,E> traversal) |
static <S,E> boolean |
TraversalUtil.test(Traverser.Admin<S> traverser,
Traversal.Admin<S,E> traversal,
E end) |
Modifier and Type | Method and Description |
---|---|
static void |
TraversalHelper.applyTraversalRecursively(Consumer<Traversal.Admin<?,?>> consumer,
Traversal.Admin<?,?> traversal)
|
Constructor and Description |
---|
DefaultTraversal(TraversalSource traversalSource,
Traversal.Admin<S,E> traversal) |
PureTraversal(Traversal.Admin<S,E> pureTraversal) |
TraversalExplanation(Traversal.Admin<?,?> traversal) |
TraversalMatrix(Traversal.Admin<S,E> traversal) |
TraversalObjectFunction(Traversal.Admin<S,E> traversal) |
TraversalRing(Traversal.Admin<A,B>... traversals) |
Constructor and Description |
---|
TraversalClassFunction(Class<? extends Supplier<Traversal.Admin<S,E>>> traversalSupplierClass) |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinJythonScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource) |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
TraverserIterator.getTraversal() |
Constructor and Description |
---|
TraverserIterator(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
void |
SparkInterceptorStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
SparkSingleIterationStrategy.apply(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SparkStarBarrierInterceptor.isLegal(Traversal.Admin<?,?> traversal) |
Modifier and Type | Method and Description |
---|---|
static String |
StringFactory.traversalString(Traversal.Admin<?,?> traversal) |
Constructor and Description |
---|
TinkerCountGlobalStep(Traversal.Admin traversal,
Class<S> elementClass) |
Modifier and Type | Method and Description |
---|---|
void |
TinkerGraphStepStrategy.apply(Traversal.Admin<?,?> traversal) |
void |
TinkerGraphCountStrategy.apply(Traversal.Admin<?,?> traversal) |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.