def block_get

mylsm-lsm-store@0.6.0.1 · src/Sstable.bend:528

import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstable
import Base

528# Handle the block get for the SSTable indexes, filters, and lookup.
529def block_get(tab: Table, +key: String) -> Maybe<&2, String>:
530  match tab:
531    case Tbl{entries, filter, nbits, smallest, largest, count, chunks, blocks}:
532      block_finish(block_pick(chunks, blocks, key), entries, key)

Uses (5)

Used by (1)