GitHub

BatchCompaction

API reference for BatchCompaction.

What a batch compactor gets: the group's entries in order, write for a replacement event and forward to keep an entry unchanged.

Attributes

AttributeTypeDescription
entriestuple[CompactionItem, ...]
writeWriteEvent
forwardCallable[[Entry], Effect[None]]

Functions

__init__

__init__(entries, write, forward) -> None
ParameterTypeDescription
entriestuple[CompactionItem, ...]
writeWriteEvent
forwardCallable[[Entry], Effect[None]]