type ScanState

mylsm-lsm-store@0.6.0.1 · src/scan/SstCursor.bend:33

import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader

33# Carries one block read or one current block during incremental scanning.
34type ScanState is Type:
35  ScanNeed{reader: ByteBlockReader.Reader, bounds: Bounds}
36  ScanRead{result: Result<&1, &1, U32 & String, ByteBlockReader.Step>,
37    bounds: Bounds}
38  ScanBlock{reader: ByteBlockReader.Reader,
39    entries: List<&1, ByteMemTable.Entry>, bounds: Bounds}

Uses (9)

Used by (3)