public interface TitanEdge extends TitanRelation, com.tinkerpop.blueprints.Edge
TitanVertex. It extends the functionality provided by Blueprint's Edge and
is a special case of a TitanRelation.Edge,
TitanRelation,
EdgeLabelisProperty| Modifier and Type | Method and Description |
|---|---|
EdgeLabel |
getEdgeLabel()
Returns the edge label of this edge
|
TitanVertex |
getOtherVertex(TitanVertex vertex)
Returns the vertex at the opposite end of the 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, isProperty, setPropertygetId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setPropertycompareToEdgeLabel getEdgeLabel()
TitanVertex getVertex(com.tinkerpop.blueprints.Direction dir)
getVertex in interface com.tinkerpop.blueprints.EdgeTitanVertex 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–2014. All rights reserved.