Expand description
Removal of old data
Structs§
- Block
Delete Pass - One bounded block-deletion pass.
- Payload
Retention - Payload retention policy: a default horizon and per-stream-tag overrides.
Enums§
- Retention
Horizon - How long the raw payloads of a stream are kept.
Constants§
- MAX_
RETENTION_ DAYS - Upper bound for a retention horizon; keeps the date arithmetic in range.
Functions§
- delete_
empty_ processes - Deletes all empty processes from the data lake.
- delete_
empty_ processes_ batch - Deletes a batch of empty processes from the data lake.
Returns
trueif there are more processes to delete,falseotherwise. - delete_
empty_ streams - Deletes all empty streams from the data lake.
- delete_
empty_ streams_ batch - Deletes a batch of empty streams from the data lake.
Returns
trueif there are more streams to delete,falseotherwise. - delete_
expired_ blocks - Deletes all expired blocks selected by a pass.
- delete_
expired_ blocks_ batch - Deletes a batch of expired blocks from the data lake.
Returns
trueif there are more blocks to delete,falseotherwise. - delete_
old_ data - Deletes the data that fell out of its retention horizon from the data lake.