type Operation
mylsm-lsm-store@0.6.0.1 · src/coordinator/Operation.bend:10
import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operation
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as RangeCursor
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
10
11type Operation is Type:
12 Get{key: Bytes.Bytes}
13 Put{key: Bytes.Bytes, value: Bytes.Bytes}
14 Delete{key: Bytes.Bytes}
15 WriteBatch{mutations: List<&1, ByteWal.Mutation>}
16 Flush{}
17 Compact{}
18 Stats{}
19 SnapshotOpen{}
20 SnapshotGet{snapshot_id: U32, key: Bytes.Bytes}
21 SnapshotClose{snapshot_id: U32}
22 SnapshotCursorOpen{snapshot_id: U32, bounds: RangeCursor.Bounds}
23 SnapshotCursorNext{cursor_id: U32}
24 SnapshotCursorClose{cursor_id: U32}
25 SnapshotCursorSeek{cursor_id: U32, lower: Maybe<&1, Bytes.Bytes>}
26 DescribeOwner{}