public final class LocalStep<S,E> extends FlatMapStep<S,E> implements TraversalHolder<S,E>, EngineDependent
TraversalHolder.Childid, label, nextEnd, nextStep, previousStep, PROFILING_ENABLED, starts, traversal, traverserStepIdSetByChild| Constructor and Description |
|---|
LocalStep(Traversal traversal,
Traversal<S,E> localTraversal) |
| Modifier and Type | Method and Description |
|---|---|
LocalStep<S,E> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
java.util.Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
java.util.List<Traversal<S,E>> |
getTraversals() |
boolean |
isLocalStarGraph() |
void |
onEngine(TraversalEngine engine) |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
java.lang.String |
toString() |
processNextStart, setFunctionaddStart, addStarts, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, setId, setLabel, setNextStep, setPreviousStep, setTraversalequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasStep, executeTraversalOperations, getChildStrategies, getTraversalRequirements, resetTraversalspublic LocalStep<S,E> clone() throws java.lang.CloneNotSupportedException
StepEmptyStep.public void onEngine(TraversalEngine engine)
onEngine in interface EngineDependentpublic java.lang.String toString()
toString in class AbstractStep<S,E>public java.util.List<Traversal<S,E>> getTraversals()
getTraversals in interface TraversalHolder<S,E>public java.util.Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.getRequirements in interface Step<S,E>public void reset()
Steppublic boolean isLocalStarGraph()
Copyright © 2013-2015 TinkerPop. All Rights Reserved.