public interface EdgeLabel extends Named, Identified
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EdgeLabel.Builder |
static class |
EdgeLabel.Directionality
The directionality of the edge.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyKey |
addPropertyKey(java.lang.String name)
Register that a particular property key may be used on edges with this label.
|
Cardinality |
cardinality() |
EdgeLabel.Directionality |
directionality() |
void |
drop()
Drop the edge label from the graph.
|
void |
dropPropertyKey(java.lang.String name)
Drops the property key from this vertex label
|
java.util.Set<? extends PropertyKey> |
propertyKeys() |
java.util.Optional<java.time.Duration> |
ttl() |
idEdgeLabel.Directionality directionality()
java.util.Optional<java.time.Duration> ttl()
Cardinality cardinality()
java.util.Set<? extends PropertyKey> propertyKeys()
PropertyKey addPropertyKey(java.lang.String name)
name - The property key namevoid drop()
void dropPropertyKey(java.lang.String name)
name - The property key to drop