Expand description
A handle to a batch of updates
Modules§
- proto_
fetch_ batch_ filter - Nested message and enum types in
ProtoFetchBatchFilter
.
Structs§
- Batch
- A handle to a batch of updates that has been written to blob storage but which has not yet been appended to a shard.
- Batch
Builder - A builder for Batches that allows adding updates piece by piece and then finishing it.
- Batch
Builder Config - A snapshot of dynamic configs to make it easier to reason about an individual run of BatchBuilder.
- Batch
Builder 🔒Internal - Batch
Parts 🔒 - Part
Deletes 🔒 - Proto
Batch - Proto
Fetch Batch Filter - Proto
Fetch Batch Filter Listen - Proto
Lease - Proto
Leased Batch Part - This is only to impl ExchangeData, and so used between processes running the same version of code. It’s not durably written down anywhere.
- Untrimmable
Columns 🔒 - A list of (lowercase) column names that persist will always retain stats for, even if it means going over the stats budget.
Enums§
- Added
- Indicates what work was done in a call to BatchBuilder::add
- Writing
Runs 🔒
Constants§
- BATCH_
DELETE_ 🔒ENABLED - BLOB_
TARGET_ 🔒SIZE - A target maximum size of blob payloads in bytes. If a logical “batch” is bigger than this, it will be broken up into smaller, independent pieces. This is best-effort, not a guarantee (though as of 2022-06-09, we happen to always respect it). This target size doesn’t apply for an individual update that exceeds it in size, but that scenario is almost certainly a mis-use of the system.
- ENCODING_
COMPRESSION_ 🔒FORMAT - ENCODING_
ENABLE_ 🔒DICTIONARY - INLINE_
WRITES_ 🔒SINGLE_ MAX_ BYTES - INLINE_
WRITES_ 🔒TOTAL_ MAX_ BYTES - MAX_
RUNS 🔒 - MAX_
RUN_ 🔒LEN - STRUCTURED_
KEY_ 🔒LOWER_ LEN
Functions§
- diffs_
sum 🔒 - Returns the total sum of diffs or None if there were no updates.
- validate_
truncate_ 🔒batch