public static interface Vertex.Iterators extends Element.Iterators
VertexProperty objects, Edge objects
and adjacent vertices, associated with the Vertex, without constructing a
Traversal object.| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Edge> |
edgeIterator(Direction direction,
java.lang.String... edgeLabels)
Gets an
Iterator of incident edges. |
<V> java.util.Iterator<VertexProperty<V>> |
propertyIterator(java.lang.String... propertyKeys)
Get an
Iterator of properties. |
java.util.Iterator<Vertex> |
vertexIterator(Direction direction,
java.lang.String... edgeLabels)
Gets an
Iterator of adjacent vertices. |
valueIteratorjava.util.Iterator<Edge> edgeIterator(Direction direction, java.lang.String... edgeLabels)
Iterator of incident edges.direction - The incident direction of the edges to retrieve off this vertexedgeLabels - The labels of the edges to retrieve. If no labels are provided, then get all edges.java.util.Iterator<Vertex> vertexIterator(Direction direction, java.lang.String... edgeLabels)
Iterator of adjacent vertices.direction - The adjacency direction of the vertices to retrieve off this vertexedgeLabels - The labels of the edges associated with the vertices to retrieve. If no labels are provided, then get all edges.<V> java.util.Iterator<VertexProperty<V>> propertyIterator(java.lang.String... propertyKeys)
Iterator of properties.propertyIterator in interface Element.IteratorsCopyright © 2013-2015 TinkerPop. All Rights Reserved.