Class SideEffectCapStep<S,E>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.SupplyingBarrierStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.SideEffectCapStep<S,E>
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterator<Traverser.Admin<E>>,- Step<S,E>,- Barrier<Boolean>,- MemoryComputing<Boolean>
 
 public final class SideEffectCapStep<S,E> extends SupplyingBarrierStep<S,E> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description Map<String,SideEffectCapable<Object,E>>sideEffectCapableSteps- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description SideEffectCapStep(Traversal.Admin traversal, String sideEffectKey, String... sideEffectKeys)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method 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 necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.List<String>getSideEffectKeys()inthashCode()protected Esupply()StringtoString()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.SupplyingBarrierStepaddBarrier, addStart, addStarts, done, getMemoryComputeKey, hasNextBarrier, nextBarrier, processAllStarts, processNextStart, reset
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 
- 
 
- 
- 
- 
Field Detail- 
sideEffectCapableStepspublic transient Map<String,SideEffectCapable<Object,E>> sideEffectCapableSteps 
 
- 
 - 
Constructor Detail- 
SideEffectCapSteppublic SideEffectCapStep(Traversal.Admin traversal, String sideEffectKey, String... sideEffectKeys) 
 
- 
 - 
Method Detail- 
toStringpublic String toString() - Overrides:
- toStringin class- AbstractStep<S,E>
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractStep<S,E>
 
 - 
getRequirementspublic Set<TraverserRequirement> getRequirements() Description copied from interface:StepProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.- Returns:
- the set of requirements
 
 - 
supplyprotected E supply() - Specified by:
- supplyin class- SupplyingBarrierStep<S,E>
 
 - 
clonepublic SideEffectCapStep<S,E> clone() Description copied from interface:StepCloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. When cloning a step, it is important that the steps, the cloned step is equivalent to the state of the step whenStep.reset()is called. Moreover, the previous and next steps should be set toEmptyStep.
 
- 
 
-