public class EdgeVertexStep extends FlatMapStep<Edge,Vertex> implements AutoCloseable, Configuring
| Modifier and Type | Field and Description |
|---|---|
protected Direction |
direction |
protected Parameters |
parameters |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
EdgeVertexStep(Traversal.Admin traversal,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Object... keyValues)
Accept a configuration to the
Step. |
protected Iterator<Vertex> |
flatMap(Traverser.Admin<Edge> traverser) |
Direction |
getDirection() |
Parameters |
getParameters()
Gets the parameters on the step.
|
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
int |
hashCode() |
void |
reverseDirection() |
String |
toString() |
closeIterator, processNextStart, resetaddLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitforEachRemaining, removeprotected Parameters parameters
protected Direction direction
public EdgeVertexStep(Traversal.Admin traversal, Direction direction)
public Parameters getParameters()
ParameterizinggetParameters in interface Parameterizingpublic void configure(Object... keyValues)
ConfiguringStep. Note that this interface extends Parameterizing and so
there is an expectation that the Step implementation will have a Parameters instance that will
house any values passed to this method. Storing these configurations in Parameters is 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).configure in interface Configuringprotected Iterator<Vertex> flatMap(Traverser.Admin<Edge> traverser)
flatMap in class FlatMapStep<Edge,Vertex>public String toString()
toString in class AbstractStep<Edge,Vertex>public int hashCode()
hashCode in class AbstractStep<Edge,Vertex>public Direction getDirection()
public void reverseDirection()
public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.getRequirements in interface Step<Edge,Vertex>public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.