public interface RelationType extends JanusGraphVertex, JanusGraphSchemaType
JanusGraphRelation. RelationType can be configured through RelationTypeMaker to
provide data verification, better storage efficiency, and higher retrieval performance.
JanusGraphRelation has a unique type which defines many important characteristics of that relation.
RelationTypeMaker which is accessed in the context of a JanusGraphTransaction
via SchemaManager.makePropertyKey(String) for property keys or SchemaManager.makeEdgeLabel(String)
for edge labels. Identical methods exist on JanusGraph.
Note, relation types will only be visible once the transaction in which they were created has been committed.
JanusGraphRelation,
RelationTypeMaker,
"Schema and Data Modeling" manual chapter| Modifier and Type | Method and Description |
|---|---|
boolean |
isEdgeLabel()
Checks if this relation type is an edge label
|
boolean |
isPropertyKey()
Checks if this relation type is a property key
|
addEdge, isModified, label, property, property, property, query, vertexLabelgraph, hasId, id, isLoaded, isNew, isRemoved, longId, remove, valueOrNulledges, properties, property, verticesisNewnameboolean isPropertyKey()
PropertyKeyboolean isEdgeLabel()
EdgeLabelCopyright © 2012–2023. All rights reserved.