Interface Graph.Features.VertexPropertyFeatures
- All Superinterfaces:
Graph.Features.DataTypeFeatures,Graph.Features.FeatureSet,Graph.Features.PropertyFeatures
- Enclosing interface:
- Graph.Features
public static interface Graph.Features.VertexPropertyFeatures
extends Graph.Features.PropertyFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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_VALUESFields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.PropertyFeatures
FEATURE_PROPERTIES -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDetermines if anVertexPropertyany Java object is a suitable identifier.default booleanDetermines if anVertexPropertyhas a specific custom object as their internal representation.default booleanDetermines if meta-properties allow fornullproperty values.default booleanDetermines if anVertexPropertyhas numeric identifiers as their internal representation.default booleanDetermines if aVertexPropertyallows properties to be removed.default booleanDetermines if anVertexPropertyhas string identifiers as their internal representation.default booleanDetermines if aVertexPropertyallows an identifier to be assigned to it.default booleanDetermines if anVertexPropertyhas UUID identifiers as their internal representation.default booleanwillAllowId(Object id) Determines if an identifier will be accepted by theGraph.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, supportsUniformListValuesMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.PropertyFeatures
supportsProperties
-
Field Details
-
FEATURE_REMOVE_PROPERTY
- See Also:
-
FEATURE_USER_SUPPLIED_IDS
- See Also:
-
FEATURE_NUMERIC_IDS
- See Also:
-
FEATURE_STRING_IDS
- See Also:
-
FEATURE_UUID_IDS
- See Also:
-
FEATURE_CUSTOM_IDS
- See Also:
-
FEATURE_ANY_IDS
- See Also:
-
FEATURE_NULL_PROPERTY_VALUES
- See Also:
-
-
Method Details
-
supportsNullPropertyValues
default boolean supportsNullPropertyValues()Determines if meta-properties allow fornullproperty values. -
supportsRemoveProperty
default boolean supportsRemoveProperty()Determines if aVertexPropertyallows properties to be removed. -
supportsUserSuppliedIds
default boolean supportsUserSuppliedIds()Determines if aVertexPropertyallows an identifier to be assigned to it. -
supportsNumericIds
default boolean supportsNumericIds()Determines if anVertexPropertyhas numeric identifiers as their internal representation. -
supportsStringIds
default boolean supportsStringIds()Determines if anVertexPropertyhas string identifiers as their internal representation. -
supportsUuidIds
default boolean supportsUuidIds()Determines if anVertexPropertyhas UUID identifiers as their internal representation. -
supportsCustomIds
default boolean supportsCustomIds()Determines if anVertexPropertyhas a specific custom object as their internal representation. -
supportsAnyIds
default boolean supportsAnyIds()Determines if anVertexPropertyany Java object is a suitable identifier. Note that this setting can only return true ifsupportsUserSuppliedIds()is true. -
willAllowId
Determines if an identifier will be accepted by theGraph. This check is different than what identifier internally supports as defined in methods likesupportsNumericIds(). Those refer to internal representation of the identifier. AGraphmay accept an identifier that is not of those types and internally transform it to a native representation. Note that this method only applies ifsupportsUserSuppliedIds()istrue. Those that returnfalsefor 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 returnfalseifsupportsUserSuppliedIds()isfalse. If custom identifiers are supported then it will throw an exception. Those that returntrueforsupportsCustomIds()should override this method. IfsupportsAnyIds()istruethen 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.
-