Class EdgeVertexStep
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep<Edge,Vertex>
org.apache.tinkerpop.gremlin.process.traversal.step.map.EdgeVertexStep
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<Traverser.Admin<Vertex>>,Step<Edge,,Vertex> Configuring,Parameterizing
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidclose()voidAccept a configuration to theStep.flatMap(Traverser.Admin<Edge> traverser) Gets the parameters on the step.Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.inthashCode()voidtoString()Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep
closeIterator, processNextStart, resetMethods 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, setTraversalMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
parameters
-
direction
-
-
Constructor Details
-
EdgeVertexStep
-
-
Method Details
-
getParameters
Description copied from interface:ParameterizingGets the parameters on the step.- Specified by:
getParametersin interfaceParameterizing
-
configure
Description copied from interface:ConfiguringAccept a configuration to theStep. Note that this interface extendsParameterizingand so there is an expectation that theStepimplementation will have aParametersinstance that will house any values passed to this method. Storing these configurations inParametersis not a requirement however, IF the configuration is an expected option for the step and can be stored on a member field that can be accessed on the step by more direct means (i.e. like a getter method).- Specified by:
configurein interfaceConfiguring
-
flatMap
- Specified by:
flatMapin classFlatMapStep<Edge,Vertex>
-
toString
- Overrides:
toStringin classAbstractStep<Edge,Vertex>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractStep<Edge,Vertex>
-
getDirection
-
reverseDirection
public void reverseDirection() -
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.- Specified by:
getRequirementsin interfaceStep<Edge,Vertex> - Returns:
- the set of requirements
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-