public final class ChooseStep<S,E,M> extends BranchStep<S,E,M>
ComputerAwareStep.EndStep<S>
TraversalOptionParent.Pick
branchTraversal, traversalOptions, traversalPickOptions
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
ChooseStep(Traversal.Admin traversal,
Traversal.Admin<S,?> predicateTraversal,
Traversal.Admin<S,E> trueChoice,
Traversal.Admin<S,E> falseChoice) |
ChooseStep(Traversal.Admin traversal,
Traversal.Admin<S,M> choiceTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
addGlobalChildOption(M pickToken,
Traversal.Admin<S,E> traversalOption) |
clone, computerAlgorithm, getGlobalChildren, getLocalChildren, getRequirements, hashCode, reset, setBranchTraversal, setTraversal, standardAlgorithm, toString
onGraphComputer, processNextStart
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
atMaster, atMaster
forEachRemaining, remove
public ChooseStep(Traversal.Admin traversal, Traversal.Admin<S,M> choiceTraversal)
public ChooseStep(Traversal.Admin traversal, Traversal.Admin<S,?> predicateTraversal, Traversal.Admin<S,E> trueChoice, Traversal.Admin<S,E> falseChoice)
public void addGlobalChildOption(M pickToken, Traversal.Admin<S,E> traversalOption)
addGlobalChildOption
in interface TraversalOptionParent<M,S,E>
addGlobalChildOption
in class BranchStep<S,E,M>
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.