Class AbstractTinkerGraph.TinkerGraphVertexPropertyFeatures
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.AbstractTinkerGraph.TinkerGraphVertexPropertyFeatures
-
- All Implemented Interfaces:
Graph.Features.DataTypeFeatures
,Graph.Features.FeatureSet
,Graph.Features.PropertyFeatures
,Graph.Features.VertexPropertyFeatures
- Enclosing class:
- AbstractTinkerGraph
public class AbstractTinkerGraph.TinkerGraphVertexPropertyFeatures extends Object implements Graph.Features.VertexPropertyFeatures
-
-
Field Summary
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.DataTypeFeatures
FEATURE_BOOLEAN_ARRAY_VALUES, FEATURE_BOOLEAN_VALUES, FEATURE_BYTE_ARRAY_VALUES, FEATURE_BYTE_VALUES, FEATURE_DOUBLE_ARRAY_VALUES, FEATURE_DOUBLE_VALUES, FEATURE_FLOAT_ARRAY_VALUES, FEATURE_FLOAT_VALUES, FEATURE_INTEGER_ARRAY_VALUES, FEATURE_INTEGER_VALUES, FEATURE_LONG_ARRAY_VALUES, FEATURE_LONG_VALUES, FEATURE_MAP_VALUES, FEATURE_MIXED_LIST_VALUES, FEATURE_SERIALIZABLE_VALUES, FEATURE_STRING_ARRAY_VALUES, FEATURE_STRING_VALUES, FEATURE_UNIFORM_LIST_VALUES
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.PropertyFeatures
FEATURE_PROPERTIES
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexPropertyFeatures
FEATURE_ANY_IDS, FEATURE_CUSTOM_IDS, FEATURE_NULL_PROPERTY_VALUES, FEATURE_NUMERIC_IDS, FEATURE_REMOVE_PROPERTY, FEATURE_STRING_IDS, FEATURE_USER_SUPPLIED_IDS, FEATURE_UUID_IDS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TinkerGraphVertexPropertyFeatures()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportsCustomIds()
Determines if anVertexProperty
has a specific custom object as their internal representation.boolean
supportsNullPropertyValues()
Determines if meta-properties allow fornull
property values.boolean
willAllowId(Object id)
Determines if an identifier will be accepted by theGraph
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.DataTypeFeatures
supportsBooleanArrayValues, supportsBooleanValues, supportsByteArrayValues, supportsByteValues, supportsDoubleArrayValues, supportsDoubleValues, supportsFloatArrayValues, supportsFloatValues, supportsIntegerArrayValues, supportsIntegerValues, supportsLongArrayValues, supportsLongValues, supportsMapValues, supportsMixedListValues, supportsSerializableValues, supportsStringArrayValues, supportsStringValues, supportsUniformListValues
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.PropertyFeatures
supportsProperties
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexPropertyFeatures
supportsAnyIds, supportsNumericIds, supportsRemoveProperty, supportsStringIds, supportsUserSuppliedIds, supportsUuidIds
-
-
-
-
Method Detail
-
supportsNullPropertyValues
public boolean supportsNullPropertyValues()
Description copied from interface:Graph.Features.VertexPropertyFeatures
Determines if meta-properties allow fornull
property values.- Specified by:
supportsNullPropertyValues
in interfaceGraph.Features.VertexPropertyFeatures
-
supportsCustomIds
public boolean supportsCustomIds()
Description copied from interface:Graph.Features.VertexPropertyFeatures
Determines if anVertexProperty
has a specific custom object as their internal representation.- Specified by:
supportsCustomIds
in interfaceGraph.Features.VertexPropertyFeatures
-
willAllowId
public boolean willAllowId(Object id)
Description copied from interface:Graph.Features.VertexPropertyFeatures
Determines if an identifier will be accepted by theGraph
. This check is different than what identifier internally supports as defined in methods likeGraph.Features.VertexPropertyFeatures.supportsNumericIds()
. Those refer to internal representation of the identifier. AGraph
may accept an identifier that is not of those types and internally transform it to a native representation. Note that this method only applies ifGraph.Features.VertexPropertyFeatures.supportsUserSuppliedIds()
istrue
. Those that returnfalse
for that method can immediately return false for this one as it allows no ids of any type (it generates them all). The default implementation will immediately returnfalse
ifGraph.Features.VertexPropertyFeatures.supportsUserSuppliedIds()
isfalse
. If custom identifiers are supported then it will throw an exception. Those that returntrue
forGraph.Features.VertexPropertyFeatures.supportsCustomIds()
should override this method. IfGraph.Features.VertexPropertyFeatures.supportsAnyIds()
istrue
then the identifier will immediately be allowed. Finally, if any of the other types are supported, they will be typed checked against the class of the supplied identifier.- Specified by:
willAllowId
in interfaceGraph.Features.VertexPropertyFeatures
-
-