Skip to main content

Module transaction

Module transaction 

Source
Expand description

Nested message and enum types in Transaction.

Modules§

key_existence_filter
Nested message and enum types in KeyExistenceFilter.
rewrite
Nested message and enum types in Rewrite.
update_config
Nested message and enum types in UpdateConfig.

Structs§

Append
Add new rows to the dataset.
BloomFilter
Bloom filter for key existence tests. Used when the number of rows is large.
Clone
An operation that clones a dataset.
CreateIndex
Add or replace a new secondary index.
DataReplacement
An operation that replaces the data in a region of the table with new data.
DataReplacementGroup
Delete
Mark rows as deleted.
ExactKeySetFilter
Exact set of key hashes for conflict detection. Used when the number of inserted rows is small.
KeyExistenceFilter
A filter for checking key existence in set of rows inserted by a merge insert operation. Only created when the merge insert’s ON columns match the schema’s unenforced primary key. The presence of this filter indicates strict primary key conflict detection should be used. Can use either an exact set (for small row counts) or a Bloom filter (for large row counts).
Merge
An operation that merges in a new column, altering the schema.
Overwrite
Create or overwrite the entire dataset.
Project
An operation that projects a subset of columns, altering the schema.
ReserveFragments
An operation that reserves fragment ids for future use in a rewrite operation.
Restore
An operation that restores a dataset to a previous version.
Rewrite
An operation that rewrites but does not change the data in the table. These kinds of operations just rearrange data.
Update
An operation that updates rows but does not add or remove rows.
UpdateBases
An operation that updates base paths in the dataset.
UpdateConfig
An operation that updates the table config, table metadata, schema metadata, or field metadata.
UpdateMap
UpdateMapEntry
An entry for a map update. If value is not set, the key will be removed from the map.
UpdateMemWalState
Update the merged generations in MemWAL index. This operation is used during merge-insert to atomically record which generations have been merged to the base table.

Enums§

Operation
The operation of this transaction.
UpdateMode
The mode of update operation