public interface TitanEdge extends TitanRelation, com.tinkerpop.blueprints.Edge
TitanVertex
. It extends the functionality provided by Blueprint's Edge
.Edge
,
TitanRelation
,
TitanLabel
isProperty
Modifier and Type | Method and Description |
---|---|
TitanVertex |
getOtherVertex(TitanVertex vertex)
Returns the vertex at the opposite end of the edge.
|
TitanLabel |
getTitanLabel()
Returns the edge label of this edge
|
TitanVertex |
getVertex(com.tinkerpop.blueprints.Direction dir)
Returns the vertex for the specified direction.
|
boolean |
isDirected()
Checks whether this relation is directed, i.e.
|
boolean |
isUnidirected()
Checks whether this relation is unidirected, i.e.
|
getDirection, getProperty, getType, isEdge, isIncidentOn, isLoop, isModifiable, isProperty, setProperty
getId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setProperty
compareTo
TitanLabel getTitanLabel()
TitanVertex getVertex(com.tinkerpop.blueprints.Direction dir)
getVertex
in interface com.tinkerpop.blueprints.Edge
TitanVertex getOtherVertex(TitanVertex vertex)
vertex
- vertex on which this edge is incidentInvalidElementException
- if the edge is not incident on the specified vertexboolean isDirected()
boolean isUnidirected()
Copyright © 2012-2013. All Rights Reserved.