public interface DefaultTypeMaker
makeLabel(String, TypeMaker)
or makeKey(String, TypeMaker)
methods respectively.
TypeMaker
,
Graph Configuration WikiModifier and Type | Method and Description |
---|---|
boolean |
ignoreUndefinedQueryTypes()
Whether to ignore undefined types occurring in a query.
|
TitanKey |
makeKey(String name,
TypeMaker factory)
Creates a new property key with the given name and default settings against the provided TypeMaker.
|
TitanLabel |
makeLabel(String name,
TypeMaker factory)
Creates a new label type with the given name and default settings against the provided TypeMaker.
|
TitanLabel makeLabel(String name, TypeMaker factory)
name
- Name of the labelfactory
- TypeMaker through which the edge label is createdIllegalArgumentException
- if the name is already in use or if other configured values are invalid.TitanKey makeKey(String name, TypeMaker factory)
name
- Name of the property keyfactory
- TypeMaker through which the property key is createdIllegalArgumentException
- if the name is already in use or if other configured values are invalid.boolean ignoreUndefinedQueryTypes()
TitanVertexQuery
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
.Copyright © 2012-2013. All Rights Reserved.