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.
|
Collection<Connection> |
mappedConnections()
Collects all connection constraints.
|
Collection<PropertyKey> |
mappedProperties()
Collects all property constraints.
|
Multiplicity |
multiplicity()
The
Multiplicity for this edge label. |
isEdgeLabel, isPropertyKey
addEdge, isModified, label, property, property, property, query, vertexLabel
graph, hasId, id, isLoaded, isNew, isRemoved, remove, valueOrNull
edges, properties, property, vertices
isNew, longId
name
boolean isDirected()
boolean isUnidirected()
Multiplicity multiplicity()
Multiplicity
for this edge label.Collection<PropertyKey> mappedProperties()
PropertyKey
which represents all property constraints for a EdgeLabel
.Collection<Connection> mappedConnections()
Connection
which represents all connection constraints for a EdgeLabel
.Copyright © 2012–2024. All rights reserved.