public final class PathStep<S> extends MapStep<S,Path> implements FunctionHolder<java.lang.Object,java.lang.Object>
id, label, nextEnd, nextStep, previousStep, PROFILING_ENABLED, starts, traversal, traverserStepIdSetByChild| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(java.util.function.Function<java.lang.Object,java.lang.Object> function) |
PathStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
java.util.List<java.util.function.Function<java.lang.Object,java.lang.Object>> |
getFunctions() |
java.util.Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
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, setTraversalpublic PathStep(Traversal traversal)
public PathStep<S> clone() throws java.lang.CloneNotSupportedException
StepEmptyStep.public void reset()
Steppublic void addFunction(java.util.function.Function<java.lang.Object,java.lang.Object> function)
addFunction in interface FunctionHolder<java.lang.Object,java.lang.Object>public java.util.List<java.util.function.Function<java.lang.Object,java.lang.Object>> getFunctions()
getFunctions in interface FunctionHolder<java.lang.Object,java.lang.Object>public java.lang.String toString()
toString in class AbstractStep<S,Path>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,Path>getRequirements in class MapStep<S,Path>Copyright © 2013-2015 TinkerPop. All Rights Reserved.