type BlockDecision

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:48

import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile
import Base
import mylsm-lsm-store@0.6.0.1/src/MemTable.bend as MemTable
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

48# Result of applying one validated block to file-level counts.
49type BlockDecision is Type:
50  BlockRejected{error: Error}
51  BlockOutOfBounds{}
52  BlockContinue{cursor: Bytes.Cursor, entries_left: U32,
53    previous: Maybe<&2, String>, entries: List<&2, MemTable.Entry>,
54    hashes: List<&1, Bytes.Bytes>}
55  BlockFinish{cursor: Bytes.Cursor, entries: List<&2, MemTable.Entry>,
56    hashes: List<&1, Bytes.Bytes>}

Uses (8)

Used by (7)