public interface SchemaManager extends SchemaInspector
Modifier and Type | Method and Description |
---|---|
EdgeLabelMaker |
makeEdgeLabel(String name)
Returns a
EdgeLabelMaker instance to define a new EdgeLabel with the given name. |
PropertyKeyMaker |
makePropertyKey(String name)
Returns a
PropertyKeyMaker instance to define a new PropertyKey with the given name. |
VertexLabelMaker |
makeVertexLabel(String name)
Returns a
VertexLabelMaker to define a new vertex label with the given name. |
containsEdgeLabel, containsPropertyKey, containsRelationType, containsVertexLabel, getEdgeLabel, getOrCreateEdgeLabel, getOrCreatePropertyKey, getOrCreateVertexLabel, getPropertyKey, getRelationType, getVertexLabel
PropertyKeyMaker makePropertyKey(String name)
PropertyKeyMaker
instance to define a new PropertyKey
with the given name.
By defining types explicitly (rather than implicitly through usage) one can control various
aspects of the key and associated consistency constraints.
The key constructed with this maker will be created in the context of this transaction.PropertyKeyMaker
linked to this transaction.PropertyKeyMaker
,
PropertyKey
EdgeLabelMaker makeEdgeLabel(String name)
EdgeLabelMaker
instance to define a new EdgeLabel
with the given name.
By defining types explicitly (rather than implicitly through usage) one can control various
aspects of the label and associated consistency constraints.
The label constructed with this maker will be created in the context of this transaction.EdgeLabelMaker
linked to this transaction.EdgeLabelMaker
,
EdgeLabel
VertexLabelMaker makeVertexLabel(String name)
VertexLabelMaker
to define a new vertex label with the given name. Note, that the name must
be unique.name
- Copyright © 2012–2015. All rights reserved.