public abstract class SupplyingBarrierStep<S,E> extends AbstractStep<S,E> implements Barrier
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
SupplyingBarrierStep(Traversal.Admin traversal) |
| Modifier and Type | Method and Description |
|---|---|
SupplyingBarrierStep<S,E> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
void |
processAllStarts()
Process all left traversers by do not yield the resultant output.
|
Traverser<E> |
processNextStart() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
protected abstract E |
supply() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitequals, getRequirementsforEachRemaining, removepublic SupplyingBarrierStep(Traversal.Admin traversal)
protected abstract E supply()
public void reset()
Steppublic Traverser<E> processNextStart()
processNextStart in class AbstractStep<S,E>public SupplyingBarrierStep<S,E> clone()
StepEmptyStep.public void processAllStarts()
BarrierReducingBarrierStep, where traversers can be processed "on the fly" and thus, reduce memory consumption.processAllStarts in interface BarrierCopyright © 2013–2015 Apache Software Foundation. All rights reserved.