Expand description
Types and functions that store or manipulate state/cache inside one single over window partition.
StructsΒ§
- Affected
Range π AffectedRangerepresents a range of keys that are affected by a delta. TheCacheKeyfields are keys in the partition range cache + delta, which is represented byDeltaBTreeMap.- Over
Partition π - A wrapper of
PartitionCachethat provides helper methods to manipulate the cache. By putting this type insideprivatemodule, we can avoid misuse of the internal fields and methods. - Over
Partition πStats
ConstantsΒ§
- MAGIC_
BATCH_ πSIZE - MAX_
STALE_ πROWS_ TO_ DELETE_ PER_ ROUND - Maximum number of stale rows to delete from one partition in one round of state cleaning, to bound the number of writes buffered in one epoch when thereβs a large backlog of stale rows.
Type AliasesΒ§
- Partition
Delta π - Changes happened in one over window partition.