public class JanusGraphDefaultSchemaMaker extends Object implements DefaultSchemaMaker
DefaultSchemaMaker implementation for Blueprints graphs| Modifier and Type | Field and Description |
|---|---|
static DefaultSchemaMaker |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Cardinality |
defaultPropertyCardinality(String key) |
protected Class |
determineClass(Object value) |
boolean |
ignoreUndefinedQueryTypes()
Whether to ignore undefined types occurring in a query.
|
PropertyKey |
makePropertyKey(PropertyKeyMaker factory,
Object value)
Creates a new property key with default settings against the provided
PropertyKeyMaker and value. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeConnectionConstraint, makeEdgeLabel, makePropertyConstraintForEdge, makePropertyConstraintForVertex, makePropertyKey, makeVertexLabelpublic static final DefaultSchemaMaker INSTANCE
public Cardinality defaultPropertyCardinality(String key)
defaultPropertyCardinality in interface DefaultSchemaMakerpublic PropertyKey makePropertyKey(PropertyKeyMaker factory, Object value)
DefaultSchemaMakerPropertyKeyMaker and value.makePropertyKey in interface DefaultSchemaMakerfactory - PropertyKeyMaker through which the property key is createdvalue - the value of the property. The default implementation does not use this parameter.public 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 DefaultSchemaMakerCopyright © 2012–2018. All rights reserved.