public abstract class CollectingBarrierStep<S> extends AbstractStep<S,S>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild
Constructor and Description |
---|
CollectingBarrierStep(Traversal.Admin traversal) |
CollectingBarrierStep(Traversal.Admin traversal,
int maxBarrierSize) |
Modifier and Type | Method and Description |
---|---|
abstract void |
barrierConsumer(TraverserSet<S> traverserSet) |
CollectingBarrierStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
int |
hashCode() |
Traverser<S> |
processNextStart() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
String |
toString() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
public CollectingBarrierStep(Traversal.Admin traversal)
public CollectingBarrierStep(Traversal.Admin traversal, int maxBarrierSize)
public abstract void barrierConsumer(TraverserSet<S> traverserSet)
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.public Traverser<S> processNextStart()
processNextStart
in class AbstractStep<S,S>
public CollectingBarrierStep<S> clone()
Step
EmptyStep
.public String toString()
toString
in class AbstractStep<S,S>
public int hashCode()
hashCode
in class AbstractStep<S,S>
public void reset()
Step
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.