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
,HasContainerHolder
,Parameterizing
public final class TinkerGraphStep<S,E extends Element> extends GraphStep<S,E> implements HasContainerHolder, AutoCloseable
- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Pieter Martin
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep
done, ids, isStart, iteratorSupplier, parameters, returnClass
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
-
-
Constructor Summary
Constructors Constructor Description TinkerGraphStep(GraphStep<S,E> originalGraphStep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHasContainer(HasContainer hasContainer)
void
close()
Attempts to close an underlying iterator if it is of typeCloseableIterator
.List<HasContainer>
getHasContainers()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep
addIds, clearIds, configure, convertElementsToIds, getIds, getParameters, getReturnClass, isStartStep, isStartStep, onGraphComputer, processHasContainerIds, processNextStart, reset, returnsEdge, returnsVertex, setIteratorSupplier
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GraphComputing
atMaster
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.HasContainerHolder
removeHasContainer
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
equals, getRequirements
-
-
-
-
Method Detail
-
getHasContainers
public List<HasContainer> getHasContainers()
- Specified by:
getHasContainers
in interfaceHasContainerHolder
-
addHasContainer
public void addHasContainer(HasContainer hasContainer)
- Specified by:
addHasContainer
in interfaceHasContainerHolder
-
close
public void close()
Description copied from class:GraphStep
Attempts 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.
-
-