type CompareState

mylsm-lsm-store@0.6.0.1 · src/scan/VisibleCursor.bend:51

import mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend as VisibleCursor
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/RangeCursor.bend as RangeCursor
import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor

51# Holds both source heads while the byte comparator decides their order.
52type CompareState is Type:
53  Compare{base: Maybe<&1, SstCursor.Cursor>, base_entry: ByteMemTable.Entry,
54    delta_entry: ByteMemTable.Entry, delta_tail: List<&1, ByteMemTable.Entry>,
55    bounds: RangeCursor.Bounds, order: Cmp}

Uses (6)

Used by (5)