Class ComputerResultStep<S>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<ComputerResult,S>
org.apache.tinkerpop.gremlin.process.computer.traversal.step.map.ComputerResultStep<S>
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<S>>,Step<ComputerResult,S>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattach(Iterator<Traverser.Admin<S>> iterator, Graph graph) clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.protected Traverser.Admin<S>toString()Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ComputerResultStep
-
-
Method Details
-
attach
-
processNextStart
- Specified by:
processNextStartin classAbstractStep<ComputerResult,S> - Throws:
NoSuchElementException
-
toString
- Overrides:
toStringin classAbstractStep<ComputerResult,S>
-
getRequirements
Description copied from interface:StepProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.- Returns:
- the set of requirements
-
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.- Specified by:
clonein interfaceStep<ComputerResult,S> - Overrides:
clonein classAbstractStep<ComputerResult,S> - Returns:
- The cloned step
-