public final class HadoopEdge extends HadoopElement implements Edge, WrappedEdge<Edge>
Edge.Exceptions
baseElement, graph
DEFAULT_LABEL
Modifier | Constructor and Description |
---|---|
protected |
HadoopEdge() |
|
HadoopEdge(Edge edge,
HadoopGraph graph) |
Modifier and Type | Method and Description |
---|---|
Edge |
getBaseEdge() |
<V> Iterator<Property<V>> |
properties(String... propertyKeys)
Get an
Iterator of properties. |
Iterator<Vertex> |
vertices(Direction direction)
Retrieve the vertex (or vertices) associated with this edge as defined by the direction.
|
equals, graph, hashCode, id, label, property, property, remove, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bothVertices, inVertex, outVertex
protected HadoopEdge()
public HadoopEdge(Edge edge, HadoopGraph graph)
public Edge getBaseEdge()
getBaseEdge
in interface WrappedEdge<Edge>
public Iterator<Vertex> vertices(Direction direction)
Edge
Direction.BOTH
then the iterator order is: Direction.OUT
then Direction.IN
.public <V> Iterator<Property<V>> properties(String... propertyKeys)
Edge
Iterator
of properties.properties
in interface Edge
properties
in interface Element
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.