public abstract class BarrierStep<S> extends AbstractStep<S,S> implements Barrier
id, label, nextEnd, nextStep, previousStep, PROFILING_ENABLED, starts, traversal, traverserStepIdSetByChild| Constructor and Description |
|---|
BarrierStep(Traversal traversal) |
| Modifier and Type | Method and Description |
|---|---|
BarrierStep<S> |
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. |
Traverser<S> |
processNextStart() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
void |
setConsumer(java.util.function.Consumer<TraverserSet<S>> barrierConsumer) |
addStart, addStarts, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, setId, setLabel, setNextStep, setPreviousStep, setTraversal, toStringpublic BarrierStep(Traversal traversal)
public void setConsumer(java.util.function.Consumer<TraverserSet<S>> barrierConsumer)
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,S>public Traverser<S> processNextStart()
processNextStart in class AbstractStep<S,S>public BarrierStep<S> clone() throws java.lang.CloneNotSupportedException
StepEmptyStep.public void reset()
StepCopyright © 2013-2015 TinkerPop. All Rights Reserved.