public interface TitanEdge extends TitanRelation, org.apache.tinkerpop.gremlin.structure.Edge
TitanVertex
. It extends the functionality provided by Blueprint's Edge
and
is a special case of a TitanRelation
.Edge
,
TitanRelation
,
EdgeLabel
isProperty
Modifier and Type | Method and Description |
---|---|
default EdgeLabel |
edgeLabel()
Returns the edge label of this edge
|
default TitanVertex |
inVertex() |
TitanVertex |
otherVertex(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
Returns the vertex at the opposite end of the edge.
|
default TitanVertex |
outVertex() |
TitanVertex |
vertex(org.apache.tinkerpop.gremlin.structure.Direction dir)
Returns the vertex for the specified direction.
|
default Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) |
direction, getType, isEdge, isIncidentOn, isLoop, isProperty, value
graph, hasId, id, isLoaded, isNew, isRemoved, longId, property, remove, valueOrNull
default EdgeLabel edgeLabel()
TitanVertex vertex(org.apache.tinkerpop.gremlin.structure.Direction dir)
default TitanVertex outVertex()
outVertex
in interface org.apache.tinkerpop.gremlin.structure.Edge
default TitanVertex inVertex()
inVertex
in interface org.apache.tinkerpop.gremlin.structure.Edge
TitanVertex otherVertex(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
vertex
- vertex on which this edge is incidentInvalidElementException
- if the edge is not incident on the specified vertexdefault Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction)
vertices
in interface org.apache.tinkerpop.gremlin.structure.Edge
Copyright © 2012–2015. All rights reserved.