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 where the propertyKeys is meant to be a filter on the available
keys. |
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 where the propertyKeys
is meant to be a filter on the available
keys. If no keys are provide then return all the properties.properties
in interface Edge
properties
in interface Element
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.