Class ComputerAwareStep<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>
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterator<Traverser.Admin<E>>,- Step<S,E>,- GraphComputing
 - Direct Known Subclasses:
- BranchStep,- MatchStep,- RepeatStep,- RepeatStep.RepeatEndStep
 
 public abstract class ComputerAwareStep<S,E> extends AbstractStep<S,E> implements GraphComputing - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classComputerAwareStep.EndStep<S>
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description ComputerAwareStep(Traversal.Admin traversal)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ComputerAwareStep<S,E>clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.protected abstract Iterator<Traverser.Admin<E>>computerAlgorithm()voidonGraphComputer()The step will be executing on aGraphComputer.protected Traverser.Admin<E>processNextStart()voidreset()Reset the state of the step such that it has no incoming starts.protected abstract Iterator<Traverser.Admin<E>>standardAlgorithm()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
 - 
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.Stepequals, getRequirements
 
- 
 
- 
- 
- 
Constructor Detail- 
ComputerAwareSteppublic ComputerAwareStep(Traversal.Admin traversal) 
 
- 
 - 
Method Detail- 
processNextStartprotected Traverser.Admin<E> processNextStart() throws NoSuchElementException - Specified by:
- processNextStartin class- AbstractStep<S,E>
- Throws:
- NoSuchElementException
 
 - 
onGraphComputerpublic void onGraphComputer() Description copied from interface:GraphComputingThe step will be executing on aGraphComputer.- Specified by:
- onGraphComputerin interface- GraphComputing
 
 - 
clonepublic ComputerAwareStep<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.
 - 
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.
 - 
standardAlgorithmprotected abstract Iterator<Traverser.Admin<E>> standardAlgorithm() throws NoSuchElementException - Throws:
- NoSuchElementException
 
 - 
computerAlgorithmprotected abstract Iterator<Traverser.Admin<E>> computerAlgorithm() throws NoSuchElementException - Throws:
- NoSuchElementException
 
 
- 
 
-