public class DisableDefaultSchemaMaker extends Object implements DefaultSchemaMaker
| Modifier and Type | Field and Description |
|---|---|
static DefaultSchemaMaker |
INSTANCE |
| Constructor and Description |
|---|
DisableDefaultSchemaMaker() |
| Modifier and Type | Method and Description |
|---|---|
Cardinality |
defaultPropertyCardinality(String key) |
boolean |
ignoreUndefinedQueryTypes()
Whether to ignore undefined types occurring in a query.
|
void |
makeConnectionConstraint(EdgeLabel edgeLabel,
VertexLabel outVLabel,
VertexLabel inVLabel,
SchemaManager manager)
Add a constraint on which vertices the given edge label can connect using the schema manager.
|
EdgeLabel |
makeEdgeLabel(EdgeLabelMaker factory)
Creates a new edge label with default settings against the provided
EdgeLabelMaker. |
void |
makePropertyConstraintForEdge(EdgeLabel edgeLabel,
PropertyKey key,
SchemaManager manager)
Add property constraints for a given edge label using the schema manager.
|
void |
makePropertyConstraintForVertex(VertexLabel vertexLabel,
PropertyKey key,
SchemaManager manager)
Add property constraints for a given vertex label using the schema manager.
|
PropertyKey |
makePropertyKey(PropertyKeyMaker factory)
Creates a new property key with default settings against the provided
PropertyKeyMaker. |
VertexLabel |
makeVertexLabel(VertexLabelMaker factory)
Creates a new vertex label with the default settings against the provided
VertexLabelMaker. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableLogging, makePropertyKeypublic static final DefaultSchemaMaker INSTANCE
public EdgeLabel makeEdgeLabel(EdgeLabelMaker factory)
DefaultSchemaMakerEdgeLabelMaker.makeEdgeLabel in interface DefaultSchemaMakerfactory - EdgeLabelMaker through which the edge label is createdpublic Cardinality defaultPropertyCardinality(String key)
defaultPropertyCardinality in interface DefaultSchemaMakerpublic PropertyKey makePropertyKey(PropertyKeyMaker factory)
DefaultSchemaMakerPropertyKeyMaker.makePropertyKey in interface DefaultSchemaMakerfactory - PropertyKeyMaker through which the property key is createdpublic VertexLabel makeVertexLabel(VertexLabelMaker factory)
DefaultSchemaMakerVertexLabelMaker.makeVertexLabel in interface DefaultSchemaMakerfactory - VertexLabelMaker through which the vertex label is createdpublic boolean ignoreUndefinedQueryTypes()
DefaultSchemaMaker
If this method returns true, then undefined types referred to in a JanusGraphVertexQuery will be silently
ignored and an empty result set will be returned. If this method returns false, then usage of undefined types
in queries results in an IllegalArgumentException.
ignoreUndefinedQueryTypes in interface DefaultSchemaMakerpublic void makePropertyConstraintForEdge(EdgeLabel edgeLabel, PropertyKey key, SchemaManager manager)
DefaultSchemaMakermakePropertyConstraintForEdge in interface DefaultSchemaMakeredgeLabel - to which the constraint applies.key - defines the property which should be added to the edge label as a constraint.manager - is used to update the schema.SchemaManagerpublic void makePropertyConstraintForVertex(VertexLabel vertexLabel, PropertyKey key, SchemaManager manager)
DefaultSchemaMakermakePropertyConstraintForVertex in interface DefaultSchemaMakervertexLabel - to which the constraint applies.key - defines the property which should be added to the vertex label as a constraint.manager - is used to update the schema.SchemaManagerpublic void makeConnectionConstraint(EdgeLabel edgeLabel, VertexLabel outVLabel, VertexLabel inVLabel, SchemaManager manager)
DefaultSchemaMakermakeConnectionConstraint in interface DefaultSchemaMakeredgeLabel - to which the constraint applies.outVLabel - specifies the outgoing vertex for this connection.inVLabel - specifies the incoming vertex for this connection.manager - is used to update the schema.SchemaManagerCopyright © 2012–2024. All rights reserved.