public interface EdgeLabel extends RelationType
RelationType
for edges. Each edge in JanusGraph has a label.
An edge label defines the following characteristics of an edge:
RelationType
Modifier and Type | Method and Description |
---|---|
boolean |
isDirected()
Checks whether this labels is defined as directed.
|
boolean |
isUnidirected()
Checks whether this labels is defined as unidirected.
|
Multiplicity |
multiplicity()
The
Multiplicity for this edge label. |
isEdgeLabel, isPropertyKey
addEdge, isModified, label, property, property, property, query, vertexLabel
graph, hasId, id, isLoaded, isNew, isRemoved, longId, remove, valueOrNull
edges, properties, property, vertices
name
boolean isDirected()
boolean isUnidirected()
Multiplicity multiplicity()
Multiplicity
for this edge label.Copyright © 2012–2017. All rights reserved.