public abstract class ComputerAwareStep<S,E> extends AbstractStep<S,E> implements GraphComputing
| Modifier and Type | Class and Description |
|---|---|
static class |
ComputerAwareStep.EndStep<S> |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| 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.Admin<E>> |
computerAlgorithm() |
void |
onGraphComputer()
The step will be executing on a
GraphComputer. |
protected Traverser.Admin<E> |
processNextStart() |
protected abstract Iterator<Traverser.Admin<E>> |
standardAlgorithm() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitequals, getRequirementsforEachRemaining, removepublic ComputerAwareStep(Traversal.Admin traversal)
protected Traverser.Admin<E> processNextStart() throws NoSuchElementException
processNextStart in class AbstractStep<S,E>NoSuchElementExceptionpublic void onGraphComputer()
GraphComputingGraphComputer.onGraphComputer in interface GraphComputingpublic ComputerAwareStep<S,E> clone()
StepEmptyStep.protected abstract Iterator<Traverser.Admin<E>> standardAlgorithm() throws NoSuchElementException
NoSuchElementExceptionprotected abstract Iterator<Traverser.Admin<E>> computerAlgorithm() throws NoSuchElementException
NoSuchElementExceptionCopyright © 2013–2016 Apache Software Foundation. All rights reserved.