public interface VertexLabel extends JanusGraphVertex, JanusGraphSchemaType
Internally, a vertex label is also used to specify certain characteristics of vertices that have a given label.
Modifier and Type | Method and Description |
---|---|
boolean |
isPartitioned()
Whether vertices with this label are partitioned.
|
boolean |
isStatic()
Whether vertices with this label are static, that is, immutable beyond the transaction
in which they were created.
|
default long |
longId()
Returns the long representation of id.
|
Collection<Connection> |
mappedConnections()
Collects all connection constraints.
|
Collection<PropertyKey> |
mappedProperties()
Collects all property constraints.
|
addEdge, isModified, label, property, property, property, query, vertexLabel
graph, hasId, id, isLoaded, isNew, isRemoved, remove, valueOrNull
edges, properties, property, vertices
isNew
name
default long longId()
longId
in interface Idfiable
longId
in interface JanusGraphElement
boolean isPartitioned()
boolean isStatic()
Collection<PropertyKey> mappedProperties()
PropertyKey
which represents all property constraints for a VertexLabel
.Collection<Connection> mappedConnections()
Connection
which represents all connection constraints for a VertexLabel
.Copyright © 2012–2023. All rights reserved.