public abstract class ComputerAwareStep<S,E> extends AbstractStep<S,E> implements EngineDependent
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
onGraphComputer |
id, label, nextEnd, nextStep, previousStep, PROFILING_ENABLED, starts, traversal, traverserStepIdSetByChild| Constructor and Description |
|---|
ComputerAwareStep(Traversal 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 java.util.Iterator<Traverser<E>> |
computerAlgorithm() |
void |
onEngine(TraversalEngine engine) |
protected Traverser<E> |
processNextStart() |
protected abstract java.util.Iterator<Traverser<E>> |
standardAlgorithm() |
addStart, addStarts, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, reset, setId, setLabel, setNextStep, setPreviousStep, setTraversal, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRequirementspublic ComputerAwareStep(Traversal traversal)
protected Traverser<E> processNextStart() throws java.util.NoSuchElementException
processNextStart in class AbstractStep<S,E>java.util.NoSuchElementExceptionpublic void onEngine(TraversalEngine engine)
onEngine in interface EngineDependentpublic ComputerAwareStep<S,E> clone() throws java.lang.CloneNotSupportedException
StepEmptyStep.protected abstract java.util.Iterator<Traverser<E>> standardAlgorithm() throws java.util.NoSuchElementException
java.util.NoSuchElementExceptionCopyright © 2013-2015 TinkerPop. All Rights Reserved.