public interface RelationType extends TitanVertex, TitanSchemaType
TitanRelation. RelationType can be configured through RelationTypeMaker to
provide data verification, better storage efficiency, and higher retrieval performance.
TitanRelation has a unique type which defines many important characteristics of that relation.
RelationTypeMaker which is accessed in the context of a TitanTransaction
via SchemaManager.makePropertyKey(String) for property keys or SchemaManager.makeEdgeLabel(String)
for edge labels. Identical methods exist on TitanGraph.
Note, relation types will only be visible once the transaction in which they were created has been committed.
TitanRelation,
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, verticesnameboolean isPropertyKey()
PropertyKeyboolean isEdgeLabel()
EdgeLabelCopyright © 2012–2015. All rights reserved.