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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public SupplyingBarrierStep(Traversal.Admin traversal)
protected abstract E supply()
public void reset()
Step
public Traverser<E> processNextStart()
processNextStart
in class AbstractStep<S,E>
public SupplyingBarrierStep<S,E> clone()
Step
EmptyStep
.public void processAllStarts()
Barrier
ReducingBarrierStep
, where traversers can be processed "on the fly" and thus, reduce memory consumption.processAllStarts
in interface Barrier
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.