type RecordDecision

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

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

727# Decision for a record at its declared block position.
728type RecordDecision is Type:
729  Rejected{cursor: Bytes.Cursor, error: Error}
730  OutOfBounds{cursor: Bytes.Cursor}
731  OutOfOrder{cursor: Bytes.Cursor}
732  LastMalformed{cursor: Bytes.Cursor}
733  LastRecord{cursor: Bytes.Cursor, entry: MemTable.Entry, key: String}
734  MoreRecords{cursor: Bytes.Cursor, entry: MemTable.Entry, key: String, used: U32}

Uses (5)

Used by (3)