public abstract class ComputerAwareStep<S,E> extends AbstractStep<S,E> implements EngineDependent
Modifier and Type | Class and Description |
---|---|
class |
ComputerAwareStep.EndStep |
id, label, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild
Constructor and Description |
---|
ComputerAwareStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
ComputerAwareStep<S,E> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
protected abstract Iterator<Traverser<E>> |
computerAlgorithm() |
void |
onEngine(TraversalEngine engine) |
protected Traverser<E> |
processNextStart() |
protected abstract Iterator<Traverser<E>> |
standardAlgorithm() |
addStart, addStarts, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, reset, setId, setLabel, setNextStep, setPreviousStep, setTraversal, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequirements
forEachRemaining, remove
public ComputerAwareStep(Traversal.Admin traversal)
protected Traverser<E> processNextStart() throws NoSuchElementException
processNextStart
in class AbstractStep<S,E>
NoSuchElementException
public void onEngine(TraversalEngine engine)
onEngine
in interface EngineDependent
public ComputerAwareStep<S,E> clone()
Step
EmptyStep
.protected abstract Iterator<Traverser<E>> standardAlgorithm() throws NoSuchElementException
NoSuchElementException
protected abstract Iterator<Traverser<E>> computerAlgorithm() throws NoSuchElementException
NoSuchElementException
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.