[][src]Module sstb::sstable::reader

SSTable reading facilities.

There are 3 different types of readers inside. They can't be joined into the same Reader trait because of different APIs.

Here's how to choose the reader for your use case:

  • is your sstable uncompressed?

    If yes, use MmapUncompressedSSTableReader. Otherwise, keep going through the questions.

  • do you need concurrent use from multiple threads?

    If yes, use ConcurrentSSTableReader. Otherwise, use SSTableReader

Structs

ConcurrentSSTableReader

A reader that can be used efficiently from multiple threads.

MmapUncompressedSSTableReader

A multi-threaded reader that only works with fully uncompressed data.

SSTableReader

The default single-threaded reader for sstables.