[−][src]Module sstb::sstable
Implementations of sstables stored as files on disk.
Single and multi-threaded SSTable readers, single-threaded writer.
For writing sstables look at the writer
module.
There is a also a convenience function write_btree_map
.
For reading sstables, there are multiple implementations with tradeoffs.
For example, the simplest and thread-safe implementation of a reader is
MmapUncompressedSSTableReader
. But it only works with uncompressed files.
Also if the tables are larger than memory, mmap may start causing issues, although that needs to be measured on the target setup.
Re-exports
pub use reader::ConcurrentSSTableReader; |
pub use reader::MmapUncompressedSSTableReader; |
pub use reader::SSTableReader; |
pub use writer::RawSSTableWriter; |
pub use writer::SSTableWriterV2; |
Modules
reader | SSTable reading facilities. |
writer | SSTable writing facilities. |
Structs
BloomConfig | |
GetOptions | Options for "get" method. |
ReadOptions | Options for reading sstables. |
Version | The version of the on-disk table. |
WriteOptions | Options for writing sstables. |
Enums
Compression | Compression options for sstables. |
Error | |
ReadCache | Configures the caches for reading. |
Constants
INVALID_DATA | |
VERSION_20 |
Functions
write_btree_map | A convenience function to write a btree map to a file. |
Type Definitions
Result |