Skip to main content

Module delete

Module delete 

Source
Expand description

Removal of old data

Structs§

BlockDeletePass
One bounded block-deletion pass.
PayloadRetention
Payload retention policy: a default horizon and per-stream-tag overrides.

Enums§

RetentionHorizon
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 true if there are more processes to delete, false otherwise.
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 true if there are more streams to delete, false otherwise.
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 true if there are more blocks to delete, false otherwise.
delete_old_data
Deletes the data that fell out of its retention horizon from the data lake.