Expand description
A handle to a batch of updates
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 - RunWith
Meta π - 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