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, isInvisibleType, longId, name, setIdgetBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTL, isInvisible, toStringaddEdge, addRelation, edges, getAddedRelations, getLifeCycle, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, id, isLoaded, isModified, isNew, isRemoved, it, label, loadRelations, properties, property, property, query, remove, removeRelation, tx, value, valueOrNull, vertexLabel, verticesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, isModified, label, property, property, property, query, vertexLabelgraph, hasId, id, isLoaded, isNew, isRemoved, longId, remove, valueOrNulledges, properties, property, verticesisNewnamegetBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTLaddRelation, getAddedRelations, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelationgetLifeCycle, graph, isInvisible, txpublic static final BaseLabel SchemaDefinitionEdge
public static final BaseLabel VertexLabelEdge
public long[] getSignature()
getSignature in interface InternalRelationTypegetSignature in class EmptyRelationTypepublic Multiplicity multiplicity()
EdgeLabelMultiplicity for this edge label.multiplicity in interface EdgeLabelmultiplicity in interface InternalRelationTypepublic Collection<PropertyKey> mappedProperties()
EdgeLabelmappedProperties in interface EdgeLabelPropertyKey which represents all property constraints for a EdgeLabel.public Collection<Connection> mappedConnections()
EdgeLabelmappedConnections in interface EdgeLabelConnection which represents all connection constraints for a EdgeLabel.public final boolean isPropertyKey()
RelationTypeisPropertyKey in interface RelationTypePropertyKeypublic final boolean isEdgeLabel()
RelationTypeisEdgeLabel in interface RelationTypeEdgeLabelpublic boolean isDirected()
EdgeLabelisDirected in interface EdgeLabelpublic boolean isUnidirected()
EdgeLabelisUnidirected in interface EdgeLabelpublic boolean isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir)
isUnidirected in interface InternalRelationTypeCopyright © 2012–2023. All rights reserved.