public class VertexStep<E extends Element> extends FlatMapStep<Vertex,E>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
VertexStep(Traversal.Admin traversal,
Class<E> returnClass,
Direction direction,
String... edgeLabels) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<E> |
flatMap(Traverser.Admin<Vertex> traverser) |
Direction |
getDirection() |
String[] |
getEdgeLabels() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
Class<E> |
getReturnClass() |
int |
hashCode() |
boolean |
returnsEdge() |
boolean |
returnsVertex() |
void |
reverseDirection() |
String |
toString() |
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
public VertexStep(Traversal.Admin traversal, Class<E> returnClass, Direction direction, String... edgeLabels)
protected Iterator<E> flatMap(Traverser.Admin<Vertex> traverser)
flatMap
in class FlatMapStep<Vertex,E extends Element>
public Direction getDirection()
public String[] getEdgeLabels()
public void reverseDirection()
public boolean returnsVertex()
public boolean returnsEdge()
public String toString()
toString
in class AbstractStep<Vertex,E extends Element>
public int hashCode()
hashCode
in class AbstractStep<Vertex,E extends Element>
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.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.