public final class SideEffectCapStep<S,E> extends SupplyingBarrierStep<S,E>
Modifier and Type | Field and Description |
---|---|
Map<String,SideEffectCapable<Object,E>> |
sideEffectCapableSteps |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
SideEffectCapStep(Traversal.Admin traversal,
String sideEffectKey,
String... sideEffectKeys) |
Modifier and Type | Method and Description |
---|---|
SideEffectCapStep<S,E> |
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. |
List<String> |
getSideEffectKeys() |
int |
hashCode() |
protected E |
supply() |
String |
toString() |
addBarrier, addStart, addStarts, done, getMemoryComputeKey, hasNextBarrier, nextBarrier, processAllStarts, processNextStart, reset
addLabel, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
public transient Map<String,SideEffectCapable<Object,E>> sideEffectCapableSteps
public SideEffectCapStep(Traversal.Admin traversal, String sideEffectKey, String... sideEffectKeys)
public String toString()
toString
in class AbstractStep<S,E>
public int hashCode()
hashCode
in class AbstractStep<S,E>
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.protected E supply()
supply
in class SupplyingBarrierStep<S,E>
public SideEffectCapStep<S,E> clone()
Step
EmptyStep
.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.