Skip to main content

Module cf_opts

Module cf_opts 

Source

Re-exportsยง

use rocksdb::BlockBasedIndexType; ๐Ÿ”’
use rocksdb::BlockBasedOptions; ๐Ÿ”’
use rocksdb::BlockBasedPinningTier; ๐Ÿ”’
use rocksdb::Cache; ๐Ÿ”’
use rocksdb::DBCompressionType as CompressionType; ๐Ÿ”’
use rocksdb::DataBlockIndexType; ๐Ÿ”’
use rocksdb::FifoCompactOptions; ๐Ÿ”’
use rocksdb::LruCacheOptions; ๐Ÿ”’
use rocksdb::Options; ๐Ÿ”’
use rocksdb::SliceTransform; ๐Ÿ”’
use rocksdb::UniversalCompactOptions; ๐Ÿ”’
use rocksdb::UniversalCompactionStopStyle; ๐Ÿ”’
use tuwunel_core::Config; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::utils::math::Expected; ๐Ÿ”’
use super::context::ColCache; ๐Ÿ”’
use super::context::ColCaches; ๐Ÿ”’
use super::context::SHARED_POOL; ๐Ÿ”’
use super::descriptor::AccessPattern; ๐Ÿ”’
use super::descriptor::CacheDisp; ๐Ÿ”’
use super::descriptor::Descriptor; ๐Ÿ”’
use crate::Context; ๐Ÿ”’
use crate::util::map_err; ๐Ÿ”’

Constantsยง

SENTINEL_COMPRESSION_LEVEL ๐Ÿ”’

Functionsยง

cache_size ๐Ÿ”’
cache_size_f64 ๐Ÿ”’
cf_options ๐Ÿ”’
Adjust options for the specific column by name. Provide the result of db_options() as the argument to this function and use the return value in the arguments to open the specific column.
descriptor_cf_options ๐Ÿ”’
fifo_options ๐Ÿ”’
get_cache ๐Ÿ”’
register_pool ๐Ÿ”’
Returns the cache for descโ€™s pool; build_cache is invoked only when a new pool must be created.
set_compression ๐Ÿ”’
set_preview_retention ๐Ÿ”’
Raise the preview columnsโ€™ FIFO ttl to the configured preview lifetime when it exceeds their floor.
set_table_options ๐Ÿ”’
table_options ๐Ÿ”’
uc_options ๐Ÿ”’