Module grove_operations

Module grove_operations 

Source
Expand description

Low level GroveDB operations Grove Operations.

Defines and implements in Drive functions pertinent to groveDB operations.

Modules§

batch_delete
Batch delete operation
batch_delete_items_in_path_query
Provides functionality to delete items in a path based on a query.
batch_delete_up_tree_while_empty
Batch delete operation up the tree while it’s empty
batch_insert
Batch insert operation
batch_insert_empty_sum_tree
Batch insert operation into empty sum tree
batch_insert_empty_tree
Batch insert operation into empty tree
batch_insert_empty_tree_if_not_exists
Batch insert operation into empty tree, but only if it doesn’t already exist
batch_insert_empty_tree_if_not_exists_check_existing_operations
Batch insert operation into empty tree, but only if it doesn’t exist and check existing operations
batch_insert_if_changed_value
Batch insert operation, but only if the value has changed
batch_insert_if_not_exists
Batch insert operation, but only if it doesn’t already exist
batch_insert_if_not_exists_return_existing_element
Inserts an element if it does not exist and returns the existing element if it does.
batch_insert_item_with_sum_item_if_not_exists
Batch inserts item with sum item if not already existing
batch_insert_sum_item_if_not_exists
Batch inserts sum item if not already existing
batch_insert_sum_item_or_add_to_if_already_exists
Inserts a sum item or adds to it if it already exists.
batch_keep_item_insert_sum_item_or_add_to_if_already_exists
Keeps the item, but inserts or adds to the sum item if it already exists
batch_move_items_in_path_query
Moved items that are found in a path query to a new path.
batch_refresh_reference
Batch refresh reference operation
batch_remove_raw
Batch remove raw data operation
batch_replace
Batch replace operation
grove_apply_batch
Apply batch grove operation
grove_apply_batch_with_add_costs
Apply batch grove operation with additional costs
grove_apply_operation
Apply grove operation
grove_apply_partial_batch
Apply partial batch grove operation
grove_apply_partial_batch_with_add_costs
Apply partial batch grove operation with additional costs
grove_batch_operations_costs
Get cost of grove batch operations
grove_clear
Clear a subtree in grovedb
grove_commitment_tree_count
Get total count from a CommitmentTree
grove_delete
Grove delete operation
grove_get
Grove get operation
grove_get_big_sum_tree_total_value
Get the total value from a big sum tree
grove_get_optional_sum_tree_total_value
Get total value from sum tree in grove if it exists
grove_get_path_query
Grove path query operation
grove_get_path_query_serialized_results
Serialized results from grove path query
grove_get_path_query_with_optional
Grove path query operation with optional return value
grove_get_proved_branch_chunk_query
Proved branch chunk query in grove Proved branch chunk query in grove.
grove_get_proved_path_query
Proved path query in grove
grove_get_proved_path_query_v1
V1 proved path query in grove (supports BulkAppendTree/CommitmentTree)
grove_get_proved_path_query_with_conditional
Executes a proved path query in GroveDB with an optional conditional query.
grove_get_proved_trunk_chunk_query
Proved trunk chunk query in grove Proved trunk chunk query in grove.
grove_get_raw
Fetch raw grove data
grove_get_raw_item
Fetch raw grove data and match that is item
grove_get_raw_optional
Fetch raw grove data if it exists
grove_get_raw_optional_item
Fetch raw grove data if it exists, None otherwise
grove_get_raw_path_query
Fetch raw data from grove path query
grove_get_raw_path_query_with_optional
Fetch raw data from grove path query with optional return value
grove_get_raw_value_u64_from_encoded_var_vec
Fetch u64 value from encoded variable vector in raw grove data
grove_get_sum_tree_total_value
Get total value from sum tree in grove
grove_has_raw
Check if raw data exists in grove
grove_insert
Grove insert operation
grove_insert_empty_tree
Grove insert operation into an empty tree
grove_insert_if_not_exists
Grove insert operation, but only if it doesn’t already exist
grove_insert_if_not_exists_return_existing_element
Inserts an element if it does not exist and returns the existing element if it does in GroveDB.

Enums§

BatchDeleteApplyType
Batch delete apply type
BatchDeleteUpTreeApplyType
Batch delete up tree apply type
BatchInsertApplyType
Batch insert apply type
BatchInsertTreeApplyType
batch insert tree apply type Batch insert tree apply type
BatchMoveApplyType
Batch move apply type
DirectQueryType
direct query type Direct query type
GroveDBToUse
Specifies which GroveDB instance to use for a query
QueryTarget
query target Query target
QueryType
Query type

Type Aliases§

FlagsLen
Flags length
IsSubTree
Is subtree?
IsSumSubTree
Is sum subtree?
IsSumTree
Is sum tree?