Module mz_persist_client::batch
source Β· Expand description
A handle to a batch of updates
Modules§
- Nested message and enum types in
ProtoFetchBatchFilter
.
Structs§
- 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
Buffer π - A builder for Batches that allows adding updates piece by piece and then finishing it.
- A snapshot of dynamic configs to make it easier to reason about an individual run of BatchBuilder.
- Batch
Builder πInternal - Batch
Parts π - Part
Deletes π - 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§
- Indicates what work was done in a call to BatchBuilder::add
- Pending πEither a handle to a task that returns a value or the value itself.
Constants§
- BATC
H_ πDELET E_ ENABLED - BLOB_
TARGE πT_ 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. - MAX_
RUN_ πLEN - STRUCTURE
D_ πORDER
Functions§
- diffs_
sum πReturns the total sum of diffs or None if there were no updates. - validate_
schema π