MCPcopy Create free account
hub / github.com/Fullstop000/wickdb / new_input_iterator

Method new_input_iterator

src/compaction.rs:171–227  ·  view source on GitHub ↗

Create an iterator that reads over all the compaction input tables with merged order. We produce different iter for tables in level0 and level >0 : level 0: Since key ranges might be overlapped with each other, we generate a table iterator over every single level 0 sst file level > 0: a `ConcatenateIterator` for all the sst file in this level Entry format: key: internal key value: value of user

(
        &self,
        icmp: InternalKeyComparator<C>,
        table_cache: TableCache<S, C>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

do_compactionMethod · 0.80

Calls 5

new_iterMethod · 0.80
cloneMethod · 0.80
lenMethod · 0.45
iterMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected