Class TinkerGraphStep<S,E extends Element>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep<S,E>
org.apache.tinkerpop.gremlin.tinkergraph.process.traversal.step.sideEffect.TinkerGraphStep<S,E>
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<Traverser.Admin<E>>,Step<S,,E> Configuring,GraphComputing,GValueHolder<S,,E> HasContainerHolder<S,,E> GraphStepContract<S,,E> Parameterizing,PopContaining,ReadOnlyTraversalParent,TraversalParent
public final class TinkerGraphStep<S,E extends Element>
extends GraphStep<S,E>
implements HasContainerHolder<S,E>, AutoCloseable
- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Pieter Martin
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PopContaining
PopContaining.PopInstruction -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep
done, ids, isStart, iteratorSupplier, parameters, returnClassFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChildFields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStepContract
CONCRETE_STEPS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHasContainer(HasContainer hasContainer) voidclose()Attempts to close an underlying iterator if it is of typeCloseableIterator.inthashCode()toString()Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep
addIds, clearIds, clone, configure, convertElementsToIds, getIds, getIdTraversal, getLocalChildren, getParameters, getReturnClass, isStartStep, isStartStep, onGraphComputer, processHasContainerIds, processNextStart, reset, returnsEdge, returnsVertex, setIdTraversal, setIteratorSupplier, setTraversalMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStepMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GraphComputing
atMasterMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStepContract
getIdsAsGValuesMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GValueHolder
reduceMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.HasContainerHolder
asConcreteStep, getGValues, getPredicates, getPredicatesGValueSafe, isParameterized, removeHasContainer, updateVariableMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getRequirements, getTraversal, hasStarts, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParent
addGlobalChild, addLocalChild, asStep, getGlobalChildren, getPopInstructions, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
-
Constructor Details
-
TinkerGraphStep
-
-
Method Details
-
toString
-
getHasContainers
- Specified by:
getHasContainersin interfaceHasContainerHolder<S,E extends Element>
-
addHasContainer
- Specified by:
addHasContainerin interfaceHasContainerHolder<S,E extends Element>
-
hashCode
public int hashCode() -
close
public void close()Description copied from class:GraphStepAttempts to close an underlying iterator if it is of typeCloseableIterator. Graph providers may choose to return this interface containing their vertices and edges if there are expensive resources that might need to be released at some point.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceTraversalParent- Overrides:
closein classGraphStep<S,E extends Element>
-