public class EdgeVertexStep extends FlatMapStep<Edge,Vertex> implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
protected Direction |
direction |
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() |
protected Iterator<Vertex> |
flatMap(Traverser.Admin<Edge> traverser) |
Direction |
getDirection() |
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, reset
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
protected Direction direction
public EdgeVertexStep(Traversal.Admin traversal, Direction direction)
protected 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()
Step
TraverserRequirement
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 AutoCloseable
Exception
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.