hydra.tinkerpop.features module
- A model derived from TinkerPop’s Graph.Features. See
An interface that represents the capabilities of a Graph implementation. By default all methods of features return true and it is up to implementers to disable feature they don’t support. Users should check features prior to using various functions of TinkerPop to help ensure code portability across implementations. For example, a common usage would be to check if a graph supports transactions prior to calling the commit method on Graph.tx().
- class hydra.tinkerpop.features.DataTypeFeatures(supports_boolean_array_values: Annotated[bool, 'Supports setting of an array of boolean values.'], supports_boolean_values: Annotated[bool, 'Supports setting of a boolean value.'], supports_byte_array_values: Annotated[bool, 'Supports setting of an array of byte values.'], supports_byte_values: Annotated[bool, 'Supports setting of a byte value.'], supports_double_array_values: Annotated[bool, 'Supports setting of an array of double values.'], supports_double_values: Annotated[bool, 'Supports setting of a double value.'], supports_float_array_values: Annotated[bool, 'Supports setting of an array of float values.'], supports_float_values: Annotated[bool, 'Supports setting of a float value.'], supports_integer_array_values: Annotated[bool, 'Supports setting of an array of integer values.'], supports_integer_values: Annotated[bool, 'Supports setting of a integer value.'], supports_long_array_values: Annotated[bool, 'Supports setting of an array of long values.'], supports_long_values: Annotated[bool, 'Supports setting of a long value.'], supports_map_values: Annotated[bool, 'Supports setting of a Map value.'], supports_mixed_list_values: Annotated[bool, 'Supports setting of a List value.'], supports_serializable_values: Annotated[bool, 'Supports setting of a Java serializable value.'], supports_string_array_values: Annotated[bool, 'Supports setting of an array of string values.'], supports_string_values: Annotated[bool, 'Supports setting of a string value.'], supports_uniform_list_values: Annotated[bool, 'Supports setting of a List value.'])
Bases:
objectBase interface for features that relate to supporting different data types.
- class Builder(_supports_boolean_array_values: 'bool' = None, _supports_boolean_values: 'bool' = None, _supports_byte_array_values: 'bool' = None, _supports_byte_values: 'bool' = None, _supports_double_array_values: 'bool' = None, _supports_double_values: 'bool' = None, _supports_float_array_values: 'bool' = None, _supports_float_values: 'bool' = None, _supports_integer_array_values: 'bool' = None, _supports_integer_values: 'bool' = None, _supports_long_array_values: 'bool' = None, _supports_long_values: 'bool' = None, _supports_map_values: 'bool' = None, _supports_mixed_list_values: 'bool' = None, _supports_serializable_values: 'bool' = None, _supports_string_array_values: 'bool' = None, _supports_string_values: 'bool' = None, _supports_uniform_list_values: 'bool' = None)
Bases:
object- build()
- supports_boolean_array_values(supports_boolean_array_values)
- supports_boolean_values(supports_boolean_values)
- supports_byte_array_values(supports_byte_array_values)
- supports_byte_values(supports_byte_values)
- supports_double_array_values(supports_double_array_values)
- supports_double_values(supports_double_values)
- supports_float_array_values(supports_float_array_values)
- supports_float_values(supports_float_values)
- supports_integer_array_values(supports_integer_array_values)
- supports_integer_values(supports_integer_values)
- supports_long_array_values(supports_long_array_values)
- supports_long_values(supports_long_values)
- supports_map_values(supports_map_values)
- supports_mixed_list_values(supports_mixed_list_values)
- supports_serializable_values(supports_serializable_values)
- supports_string_array_values(supports_string_array_values)
- supports_string_values(supports_string_values)
- supports_uniform_list_values(supports_uniform_list_values)
- SUPPORTS_BOOLEAN_ARRAY_VALUES = Name(value='supportsBooleanArrayValues')
- SUPPORTS_BOOLEAN_VALUES = Name(value='supportsBooleanValues')
- SUPPORTS_BYTE_ARRAY_VALUES = Name(value='supportsByteArrayValues')
- SUPPORTS_BYTE_VALUES = Name(value='supportsByteValues')
- SUPPORTS_DOUBLE_ARRAY_VALUES = Name(value='supportsDoubleArrayValues')
- SUPPORTS_DOUBLE_VALUES = Name(value='supportsDoubleValues')
- SUPPORTS_FLOAT_ARRAY_VALUES = Name(value='supportsFloatArrayValues')
- SUPPORTS_FLOAT_VALUES = Name(value='supportsFloatValues')
- SUPPORTS_INTEGER_ARRAY_VALUES = Name(value='supportsIntegerArrayValues')
- SUPPORTS_INTEGER_VALUES = Name(value='supportsIntegerValues')
- SUPPORTS_LONG_ARRAY_VALUES = Name(value='supportsLongArrayValues')
- SUPPORTS_LONG_VALUES = Name(value='supportsLongValues')
- SUPPORTS_MAP_VALUES = Name(value='supportsMapValues')
- SUPPORTS_MIXED_LIST_VALUES = Name(value='supportsMixedListValues')
- SUPPORTS_SERIALIZABLE_VALUES = Name(value='supportsSerializableValues')
- SUPPORTS_STRING_ARRAY_VALUES = Name(value='supportsStringArrayValues')
- SUPPORTS_STRING_VALUES = Name(value='supportsStringValues')
- SUPPORTS_UNIFORM_LIST_VALUES = Name(value='supportsUniformListValues')
- TYPE_ = Name(value='hydra.tinkerpop.features.DataTypeFeatures')
- static builder()
- supports_boolean_array_values: Annotated[bool, 'Supports setting of an array of boolean values.']
- supports_boolean_values: Annotated[bool, 'Supports setting of a boolean value.']
- supports_byte_array_values: Annotated[bool, 'Supports setting of an array of byte values.']
- supports_byte_values: Annotated[bool, 'Supports setting of a byte value.']
- supports_double_array_values: Annotated[bool, 'Supports setting of an array of double values.']
- supports_double_values: Annotated[bool, 'Supports setting of a double value.']
- supports_float_array_values: Annotated[bool, 'Supports setting of an array of float values.']
- supports_float_values: Annotated[bool, 'Supports setting of a float value.']
- supports_integer_array_values: Annotated[bool, 'Supports setting of an array of integer values.']
- supports_integer_values: Annotated[bool, 'Supports setting of a integer value.']
- supports_long_array_values: Annotated[bool, 'Supports setting of an array of long values.']
- supports_long_values: Annotated[bool, 'Supports setting of a long value.']
- supports_map_values: Annotated[bool, 'Supports setting of a Map value.']
- supports_mixed_list_values: Annotated[bool, 'Supports setting of a List value.']
- supports_serializable_values: Annotated[bool, 'Supports setting of a Java serializable value.']
- supports_string_array_values: Annotated[bool, 'Supports setting of an array of string values.']
- supports_string_values: Annotated[bool, 'Supports setting of a string value.']
- supports_uniform_list_values: Annotated[bool, 'Supports setting of a List value.']
- with_supports_boolean_array_values(supports_boolean_array_values)
- with_supports_boolean_values(supports_boolean_values)
- with_supports_byte_array_values(supports_byte_array_values)
- with_supports_byte_values(supports_byte_values)
- with_supports_double_array_values(supports_double_array_values)
- with_supports_double_values(supports_double_values)
- with_supports_float_array_values(supports_float_array_values)
- with_supports_float_values(supports_float_values)
- with_supports_integer_array_values(supports_integer_array_values)
- with_supports_integer_values(supports_integer_values)
- with_supports_long_array_values(supports_long_array_values)
- with_supports_long_values(supports_long_values)
- with_supports_map_values(supports_map_values)
- with_supports_mixed_list_values(supports_mixed_list_values)
- with_supports_serializable_values(supports_serializable_values)
- with_supports_string_array_values(supports_string_array_values)
- with_supports_string_values(supports_string_values)
- with_supports_uniform_list_values(supports_uniform_list_values)
- class hydra.tinkerpop.features.EdgeFeatures(element_features: ElementFeatures, properties: EdgePropertyFeatures, supports_add_edges: Annotated[bool, 'Determines if an Edge can be added to a Vertex.'], supports_remove_edges: Annotated[bool, 'Determines if an Edge can be removed from a Vertex.'], supports_upsert: Annotated[bool, 'Determines if the Graph implementation uses upsert functionality as opposed to insert functionality for Vertex.addEdge(String, Vertex, Object...).'])
Bases:
objectFeatures that are related to Edge operations.
- class Builder(_element_features: 'ElementFeatures' = None, _properties: 'EdgePropertyFeatures' = None, _supports_add_edges: 'bool' = None, _supports_remove_edges: 'bool' = None, _supports_upsert: 'bool' = None)
Bases:
object- build()
- element_features(element_features)
- properties(properties)
- supports_add_edges(supports_add_edges)
- supports_remove_edges(supports_remove_edges)
- supports_upsert(supports_upsert)
- ELEMENT_FEATURES = Name(value='elementFeatures')
- PROPERTIES = Name(value='properties')
- SUPPORTS_ADD_EDGES = Name(value='supportsAddEdges')
- SUPPORTS_REMOVE_EDGES = Name(value='supportsRemoveEdges')
- SUPPORTS_UPSERT = Name(value='supportsUpsert')
- TYPE_ = Name(value='hydra.tinkerpop.features.EdgeFeatures')
- static builder()
- element_features: ElementFeatures
- properties: EdgePropertyFeatures
- supports_add_edges: Annotated[bool, 'Determines if an Edge can be added to a Vertex.']
- supports_remove_edges: Annotated[bool, 'Determines if an Edge can be removed from a Vertex.']
- supports_upsert: Annotated[bool, 'Determines if the Graph implementation uses upsert functionality as opposed to insert functionality for Vertex.addEdge(String, Vertex, Object...).']
- with_element_features(element_features)
- with_properties(properties)
- with_supports_add_edges(supports_add_edges)
- with_supports_remove_edges(supports_remove_edges)
- with_supports_upsert(supports_upsert)
- class hydra.tinkerpop.features.EdgePropertyFeatures(property_features: PropertyFeatures)
Bases:
objectFeatures that are related to Edge Property objects.
- class Builder(_property_features: 'PropertyFeatures' = None)
Bases:
object- build()
- property_features(property_features)
- PROPERTY_FEATURES = Name(value='propertyFeatures')
- TYPE_ = Name(value='hydra.tinkerpop.features.EdgePropertyFeatures')
- static builder()
- property_features: PropertyFeatures
- with_property_features(property_features)
- class hydra.tinkerpop.features.ElementFeatures(supports_add_property: Annotated[bool, 'Determines if an Element allows properties to be added.'], supports_any_ids: Annotated[bool, 'Determines if an Element any Java object is a suitable identifier.'], supports_custom_ids: Annotated[bool, 'Determines if an Element has a specific custom object as their internal representation.'], supports_numeric_ids: Annotated[bool, 'Determines if an Element has numeric identifiers as their internal representation.'], supports_remove_property: Annotated[bool, 'Determines if an Element allows properties to be removed.'], supports_string_ids: Annotated[bool, 'Determines if an Element has string identifiers as their internal representation.'], supports_user_supplied_ids: Annotated[bool, 'Determines if an Element can have a user defined identifier.'], supports_uuid_ids: Annotated[bool, 'Determines if an Element has UUID identifiers as their internal representation.'])
Bases:
objectFeatures that are related to Element objects.
- class Builder(_supports_add_property: 'bool' = None, _supports_any_ids: 'bool' = None, _supports_custom_ids: 'bool' = None, _supports_numeric_ids: 'bool' = None, _supports_remove_property: 'bool' = None, _supports_string_ids: 'bool' = None, _supports_user_supplied_ids: 'bool' = None, _supports_uuid_ids: 'bool' = None)
Bases:
object- build()
- supports_add_property(supports_add_property)
- supports_any_ids(supports_any_ids)
- supports_custom_ids(supports_custom_ids)
- supports_numeric_ids(supports_numeric_ids)
- supports_remove_property(supports_remove_property)
- supports_string_ids(supports_string_ids)
- supports_user_supplied_ids(supports_user_supplied_ids)
- supports_uuid_ids(supports_uuid_ids)
- SUPPORTS_ADD_PROPERTY = Name(value='supportsAddProperty')
- SUPPORTS_ANY_IDS = Name(value='supportsAnyIds')
- SUPPORTS_CUSTOM_IDS = Name(value='supportsCustomIds')
- SUPPORTS_NUMERIC_IDS = Name(value='supportsNumericIds')
- SUPPORTS_REMOVE_PROPERTY = Name(value='supportsRemoveProperty')
- SUPPORTS_STRING_IDS = Name(value='supportsStringIds')
- SUPPORTS_USER_SUPPLIED_IDS = Name(value='supportsUserSuppliedIds')
- SUPPORTS_UUID_IDS = Name(value='supportsUuidIds')
- TYPE_ = Name(value='hydra.tinkerpop.features.ElementFeatures')
- static builder()
- supports_add_property: Annotated[bool, 'Determines if an Element allows properties to be added.']
- supports_any_ids: Annotated[bool, 'Determines if an Element any Java object is a suitable identifier.']
- supports_custom_ids: Annotated[bool, 'Determines if an Element has a specific custom object as their internal representation.']
- supports_numeric_ids: Annotated[bool, 'Determines if an Element has numeric identifiers as their internal representation.']
- supports_remove_property: Annotated[bool, 'Determines if an Element allows properties to be removed.']
- supports_string_ids: Annotated[bool, 'Determines if an Element has string identifiers as their internal representation.']
- supports_user_supplied_ids: Annotated[bool, 'Determines if an Element can have a user defined identifier.']
- supports_uuid_ids: Annotated[bool, 'Determines if an Element has UUID identifiers as their internal representation.']
- with_supports_add_property(supports_add_property)
- with_supports_any_ids(supports_any_ids)
- with_supports_custom_ids(supports_custom_ids)
- with_supports_numeric_ids(supports_numeric_ids)
- with_supports_remove_property(supports_remove_property)
- with_supports_string_ids(supports_string_ids)
- with_supports_user_supplied_ids(supports_user_supplied_ids)
- with_supports_uuid_ids(supports_uuid_ids)
- class hydra.tinkerpop.features.ExtraFeatures(supports_map_key: Callable[[Type], bool])
Bases:
Generic[A]Additional features which are needed for the complete specification of language constraints in Hydra, above and beyond TinkerPop Graph.Features.
- class Builder(_supports_map_key: 'Callable[[hydra.core.Type], bool]' = None)
Bases:
Generic[A]- build()
- supports_map_key(supports_map_key)
- SUPPORTS_MAP_KEY = Name(value='supportsMapKey')
- TYPE_ = Name(value='hydra.tinkerpop.features.ExtraFeatures')
- static builder()
- with_supports_map_key(supports_map_key)
- class hydra.tinkerpop.features.Features(edge: Annotated[EdgeFeatures, 'Gets the features related to edge operation.'], graph: Annotated[GraphFeatures, 'Gets the features related to graph operation.'], vertex: Annotated[VertexFeatures, 'Gets the features related to vertex operation.'])
Bases:
objectAn interface that represents the capabilities of a Graph implementation. By default all methods of features return true and it is up to implementers to disable feature they don’t support. Users should check features prior to using various functions of TinkerPop to help ensure code portability across implementations. For example, a common usage would be to check if a graph supports transactions prior to calling the commit method on Graph.tx().
As an additional notice to Graph Providers, feature methods will be used by the test suite to determine which tests will be ignored and which will be executed, therefore proper setting of these features is essential to maximizing the amount of testing performed by the suite. Further note, that these methods may be called by the TinkerPop core code to determine what operations may be appropriately executed which will have impact on features utilized by users.
- class Builder(_edge: 'EdgeFeatures' = None, _graph: 'GraphFeatures' = None, _vertex: 'VertexFeatures' = None)
Bases:
object- build()
- edge(edge)
- graph(graph)
- vertex(vertex)
- EDGE = Name(value='edge')
- GRAPH = Name(value='graph')
- TYPE_ = Name(value='hydra.tinkerpop.features.Features')
- VERTEX = Name(value='vertex')
- static builder()
- edge: Annotated[EdgeFeatures, 'Gets the features related to edge operation.']
- graph: Annotated[GraphFeatures, 'Gets the features related to graph operation.']
- vertex: Annotated[VertexFeatures, 'Gets the features related to vertex operation.']
- with_edge(edge)
- with_graph(graph)
- with_vertex(vertex)
- class hydra.tinkerpop.features.GraphFeatures(supports_computer: Annotated[bool, 'Determines if the Graph implementation supports GraphComputer based processing.'], supports_concurrent_access: Annotated[bool, 'Determines if the Graph implementation supports more than one connection to the same instance at the same time.'], supports_io_read: Annotated[bool, 'Determines if the Graph implementations supports read operations as executed with the GraphTraversalSource.io(String) step.'], supports_io_write: Annotated[bool, 'Determines if the Graph implementations supports write operations as executed with the GraphTraversalSource.io(String) step.'], supports_persistence: Annotated[bool, "Determines if the Graph implementation supports persisting it's contents natively to disk."], supports_threaded_transactions: Annotated[bool, 'Determines if the Graph implementation supports threaded transactions which allow a transaction to be executed across multiple threads via Transaction.createThreadedTx().'], supports_transactions: Annotated[bool, 'Determines if the Graph implementations supports transactions.'], variables: Annotated[VariableFeatures, 'Gets the features related to graph sideEffects operation.'])
Bases:
objectFeatures specific to a operations of a graph.
- class Builder(_supports_computer: 'bool' = None, _supports_concurrent_access: 'bool' = None, _supports_io_read: 'bool' = None, _supports_io_write: 'bool' = None, _supports_persistence: 'bool' = None, _supports_threaded_transactions: 'bool' = None, _supports_transactions: 'bool' = None, _variables: 'VariableFeatures' = None)
Bases:
object- build()
- supports_computer(supports_computer)
- supports_concurrent_access(supports_concurrent_access)
- supports_io_read(supports_io_read)
- supports_io_write(supports_io_write)
- supports_persistence(supports_persistence)
- supports_threaded_transactions(supports_threaded_transactions)
- supports_transactions(supports_transactions)
- variables(variables)
- SUPPORTS_COMPUTER = Name(value='supportsComputer')
- SUPPORTS_CONCURRENT_ACCESS = Name(value='supportsConcurrentAccess')
- SUPPORTS_IO_READ = Name(value='supportsIoRead')
- SUPPORTS_IO_WRITE = Name(value='supportsIoWrite')
- SUPPORTS_PERSISTENCE = Name(value='supportsPersistence')
- SUPPORTS_THREADED_TRANSACTIONS = Name(value='supportsThreadedTransactions')
- SUPPORTS_TRANSACTIONS = Name(value='supportsTransactions')
- TYPE_ = Name(value='hydra.tinkerpop.features.GraphFeatures')
- VARIABLES = Name(value='variables')
- static builder()
- supports_computer: Annotated[bool, 'Determines if the Graph implementation supports GraphComputer based processing.']
- supports_concurrent_access: Annotated[bool, 'Determines if the Graph implementation supports more than one connection to the same instance at the same time.']
- supports_io_read: Annotated[bool, 'Determines if the Graph implementations supports read operations as executed with the GraphTraversalSource.io(String) step.']
- supports_io_write: Annotated[bool, 'Determines if the Graph implementations supports write operations as executed with the GraphTraversalSource.io(String) step.']
- supports_persistence: Annotated[bool, "Determines if the Graph implementation supports persisting it's contents natively to disk."]
- supports_threaded_transactions: Annotated[bool, 'Determines if the Graph implementation supports threaded transactions which allow a transaction to be executed across multiple threads via Transaction.createThreadedTx().']
- supports_transactions: Annotated[bool, 'Determines if the Graph implementations supports transactions.']
- variables: Annotated[VariableFeatures, 'Gets the features related to graph sideEffects operation.']
- with_supports_computer(supports_computer)
- with_supports_concurrent_access(supports_concurrent_access)
- with_supports_io_read(supports_io_read)
- with_supports_io_write(supports_io_write)
- with_supports_persistence(supports_persistence)
- with_supports_threaded_transactions(supports_threaded_transactions)
- with_supports_transactions(supports_transactions)
- with_variables(variables)
- class hydra.tinkerpop.features.PropertyFeatures(data_type_features: DataTypeFeatures, supports_properties: Annotated[bool, 'Determines if an Element allows for the processing of at least one data type defined by the features.'])
Bases:
objectA base interface for Edge or Vertex Property features.
- class Builder(_data_type_features: 'DataTypeFeatures' = None, _supports_properties: 'bool' = None)
Bases:
object- build()
- data_type_features(data_type_features)
- supports_properties(supports_properties)
- DATA_TYPE_FEATURES = Name(value='dataTypeFeatures')
- SUPPORTS_PROPERTIES = Name(value='supportsProperties')
- TYPE_ = Name(value='hydra.tinkerpop.features.PropertyFeatures')
- static builder()
- data_type_features: DataTypeFeatures
- supports_properties: Annotated[bool, 'Determines if an Element allows for the processing of at least one data type defined by the features.']
- with_data_type_features(data_type_features)
- with_supports_properties(supports_properties)
- class hydra.tinkerpop.features.VariableFeatures(data_type_features: DataTypeFeatures, supports_variables: Annotated[bool, 'If any of the features on Graph.Features.VariableFeatures is true then this value must be true.'])
Bases:
objectFeatures for Graph.Variables.
- class Builder(_data_type_features: 'DataTypeFeatures' = None, _supports_variables: 'bool' = None)
Bases:
object- build()
- data_type_features(data_type_features)
- supports_variables(supports_variables)
- DATA_TYPE_FEATURES = Name(value='dataTypeFeatures')
- SUPPORTS_VARIABLES = Name(value='supportsVariables')
- TYPE_ = Name(value='hydra.tinkerpop.features.VariableFeatures')
- static builder()
- data_type_features: DataTypeFeatures
- supports_variables: Annotated[bool, 'If any of the features on Graph.Features.VariableFeatures is true then this value must be true.']
- with_data_type_features(data_type_features)
- with_supports_variables(supports_variables)
- class hydra.tinkerpop.features.VertexFeatures(element_features: ElementFeatures, properties: VertexPropertyFeatures, supports_add_vertices: Annotated[bool, 'Determines if a Vertex can be added to the Graph.'], supports_duplicate_multi_properties: Annotated[bool, 'Determines if a Vertex can support non-unique values on the same key.'], supports_meta_properties: Annotated[bool, 'Determines if a Vertex can support properties on vertex properties.'], supports_multi_properties: Annotated[bool, 'Determines if a Vertex can support multiple properties with the same key.'], supports_remove_vertices: Annotated[bool, 'Determines if a Vertex can be removed from the Graph.'], supports_upsert: Annotated[bool, 'Determines if the Graph implementation uses upsert functionality as opposed to insert functionality for Graph.addVertex(String).'])
Bases:
objectFeatures that are related to Vertex operations.
- class Builder(_element_features: 'ElementFeatures' = None, _properties: 'VertexPropertyFeatures' = None, _supports_add_vertices: 'bool' = None, _supports_duplicate_multi_properties: 'bool' = None, _supports_meta_properties: 'bool' = None, _supports_multi_properties: 'bool' = None, _supports_remove_vertices: 'bool' = None, _supports_upsert: 'bool' = None)
Bases:
object- build()
- element_features(element_features)
- properties(properties)
- supports_add_vertices(supports_add_vertices)
- supports_duplicate_multi_properties(supports_duplicate_multi_properties)
- supports_meta_properties(supports_meta_properties)
- supports_multi_properties(supports_multi_properties)
- supports_remove_vertices(supports_remove_vertices)
- supports_upsert(supports_upsert)
- ELEMENT_FEATURES = Name(value='elementFeatures')
- PROPERTIES = Name(value='properties')
- SUPPORTS_ADD_VERTICES = Name(value='supportsAddVertices')
- SUPPORTS_DUPLICATE_MULTI_PROPERTIES = Name(value='supportsDuplicateMultiProperties')
- SUPPORTS_META_PROPERTIES = Name(value='supportsMetaProperties')
- SUPPORTS_MULTI_PROPERTIES = Name(value='supportsMultiProperties')
- SUPPORTS_REMOVE_VERTICES = Name(value='supportsRemoveVertices')
- SUPPORTS_UPSERT = Name(value='supportsUpsert')
- TYPE_ = Name(value='hydra.tinkerpop.features.VertexFeatures')
- static builder()
- element_features: ElementFeatures
- properties: VertexPropertyFeatures
- supports_add_vertices: Annotated[bool, 'Determines if a Vertex can be added to the Graph.']
- supports_duplicate_multi_properties: Annotated[bool, 'Determines if a Vertex can support non-unique values on the same key.']
- supports_meta_properties: Annotated[bool, 'Determines if a Vertex can support properties on vertex properties.']
- supports_multi_properties: Annotated[bool, 'Determines if a Vertex can support multiple properties with the same key.']
- supports_remove_vertices: Annotated[bool, 'Determines if a Vertex can be removed from the Graph.']
- supports_upsert: Annotated[bool, 'Determines if the Graph implementation uses upsert functionality as opposed to insert functionality for Graph.addVertex(String).']
- with_element_features(element_features)
- with_properties(properties)
- with_supports_add_vertices(supports_add_vertices)
- with_supports_duplicate_multi_properties(supports_duplicate_multi_properties)
- with_supports_meta_properties(supports_meta_properties)
- with_supports_multi_properties(supports_multi_properties)
- with_supports_remove_vertices(supports_remove_vertices)
- with_supports_upsert(supports_upsert)
- class hydra.tinkerpop.features.VertexPropertyFeatures(data_type_features: DataTypeFeatures, property_features: PropertyFeatures, element_features: ElementFeatures, supports_remove: Annotated[bool, 'Determines if a VertexProperty allows properties to be removed.'])
Bases:
objectFeatures that are related to Vertex Property objects.
- class Builder(_data_type_features: 'DataTypeFeatures' = None, _property_features: 'PropertyFeatures' = None, _element_features: 'ElementFeatures' = None, _supports_remove: 'bool' = None)
Bases:
object- build()
- data_type_features(data_type_features)
- element_features(element_features)
- property_features(property_features)
- supports_remove(supports_remove)
- DATA_TYPE_FEATURES = Name(value='dataTypeFeatures')
- ELEMENT_FEATURES = Name(value='elementFeatures')
- PROPERTY_FEATURES = Name(value='propertyFeatures')
- SUPPORTS_REMOVE = Name(value='supportsRemove')
- TYPE_ = Name(value='hydra.tinkerpop.features.VertexPropertyFeatures')
- static builder()
- data_type_features: DataTypeFeatures
- element_features: ElementFeatures
- property_features: PropertyFeatures
- supports_remove: Annotated[bool, 'Determines if a VertexProperty allows properties to be removed.']
- with_data_type_features(data_type_features)
- with_element_features(element_features)
- with_property_features(property_features)
- with_supports_remove(supports_remove)