Class UnionStep<S,E>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.branch.BranchStep<S,E,Pick>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.branch.UnionStep<S,E>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- AutoCloseable,- Cloneable,- Iterator<Traverser.Admin<E>>,- Step<S,E>,- GraphComputing,- TraversalOptionParent<Pick,S,E>,- TraversalParent
 
 public class UnionStep<S,E> extends BranchStep<S,E,Pick> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareStepComputerAwareStep.EndStep<S>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected booleanfirstIs this the first iteration through the step.- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.branch.BranchStepbranchTraversal, traversalOptions, traversalPickOptions
 - 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description UnionStep(Traversal.Admin traversal, boolean isStart, Traversal.Admin<?,E>... unionTraversals)UnionStep(Traversal.Admin traversal, Traversal.Admin<?,E>... unionTraversals)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildOption(Pick pickToken, Traversal.Admin<S,E> traversalOption)booleanisStart()protected Traverser.Admin<E>processNextStart()voidreset()Reset the state of the step such that it has no incoming starts.StringtoString()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.branch.BranchStepclone, computerAlgorithm, getGlobalChildren, getLocalChildren, getRequirements, hashCode, setBranchTraversal, setTraversal, standardAlgorithm
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareSteponGraphComputer
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GraphComputingatMaster
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParentaddGlobalChild, addLocalChild, asStep, close, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
 
- 
 
- 
- 
- 
Constructor Detail- 
UnionSteppublic UnionStep(Traversal.Admin traversal, boolean isStart, Traversal.Admin<?,E>... unionTraversals) 
 - 
UnionSteppublic UnionStep(Traversal.Admin traversal, Traversal.Admin<?,E>... unionTraversals) 
 
- 
 - 
Method Detail- 
isStartpublic boolean isStart() 
 - 
processNextStartprotected Traverser.Admin<E> processNextStart() - Overrides:
- processNextStartin class- ComputerAwareStep<S,E>
 
 - 
addChildOptionpublic void addChildOption(Pick pickToken, Traversal.Admin<S,E> traversalOption) Description copied from interface:TraversalOptionParentThe child as defined by the token it takes, likePickorMerge. This traversal may be of local or global scope depending on the step implementation that works withoption().- Specified by:
- addChildOptionin interface- TraversalOptionParent<Pick,S,E>
- Overrides:
- addChildOptionin class- BranchStep<S,E,Pick>
 
 - 
resetpublic void reset() Description copied from interface:StepReset the state of the step such that it has no incoming starts. Internal states are to be reset, but any sideEffect data structures are not to be recreated.
 
- 
 
-