public class BaseLabel extends BaseRelationType implements EdgeLabel
Modifier and Type | Field and Description |
---|---|
static BaseLabel |
SchemaDefinitionEdge |
static BaseLabel |
VertexLabelEdge |
Modifier and Type | Method and Description |
---|---|
long[] |
getSignature() |
boolean |
isDirected()
Checks whether this labels is defined as directed.
|
boolean |
isEdgeLabel()
Checks if this relation type is an edge label
|
boolean |
isPropertyKey()
Checks if this relation type is a property key
|
boolean |
isUnidirected()
Checks whether this labels is defined as unidirected.
|
boolean |
isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir) |
Collection<Connection> |
mappedConnections()
Collects all connection constraints.
|
Collection<PropertyKey> |
mappedProperties()
Collects all property constraints.
|
Multiplicity |
multiplicity()
The
Multiplicity for this edge label. |
getConsistencyModifier, hasId, id, isInvisibleType, name, setId
getBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTL, isInvisible, toString
addEdge, addRelation, edges, getAddedRelations, getLifeCycle, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, isLoaded, isModified, isNew, isRemoved, it, label, loadRelations, properties, property, property, query, remove, removeRelation, tx, value, valueOrNull, vertexLabel, vertices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEdge, isModified, label, property, property, property, query, vertexLabel
graph, hasId, id, isLoaded, isNew, isRemoved, remove, valueOrNull
edges, properties, property, vertices
isNew, longId
name
getBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTL
addRelation, getAddedRelations, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelation
getLifeCycle, graph, isInvisible, tx
public static final BaseLabel SchemaDefinitionEdge
public static final BaseLabel VertexLabelEdge
public long[] getSignature()
getSignature
in interface InternalRelationType
getSignature
in class EmptyRelationType
public Multiplicity multiplicity()
EdgeLabel
Multiplicity
for this edge label.multiplicity
in interface EdgeLabel
multiplicity
in interface InternalRelationType
public Collection<PropertyKey> mappedProperties()
EdgeLabel
mappedProperties
in interface EdgeLabel
PropertyKey
which represents all property constraints for a EdgeLabel
.public Collection<Connection> mappedConnections()
EdgeLabel
mappedConnections
in interface EdgeLabel
Connection
which represents all connection constraints for a EdgeLabel
.public final boolean isPropertyKey()
RelationType
isPropertyKey
in interface RelationType
PropertyKey
public final boolean isEdgeLabel()
RelationType
isEdgeLabel
in interface RelationType
EdgeLabel
public boolean isDirected()
EdgeLabel
isDirected
in interface EdgeLabel
public boolean isUnidirected()
EdgeLabel
isUnidirected
in interface EdgeLabel
public boolean isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir)
isUnidirected
in interface InternalRelationType
Copyright © 2012–2023. All rights reserved.