Struct tikv::config::TitanCfConfig[][src]

pub struct TitanCfConfig {
    pub min_blob_size: ReadableSize,
    pub blob_file_compression: CompressionType,
    pub blob_cache_size: ReadableSize,
    pub min_gc_batch_size: ReadableSize,
    pub max_gc_batch_size: ReadableSize,
    pub discardable_ratio: f64,
    pub sample_ratio: f64,
    pub merge_small_file_threshold: ReadableSize,
    pub blob_run_mode: BlobRunMode,
    pub level_merge: bool,
    pub range_merge: bool,
    pub max_sorted_runs: i32,
    pub gc_merge_rewrite: bool,
}

Fields

min_blob_size: ReadableSizeblob_file_compression: CompressionTypeblob_cache_size: ReadableSizemin_gc_batch_size: ReadableSizemax_gc_batch_size: ReadableSizediscardable_ratio: f64sample_ratio: f64merge_small_file_threshold: ReadableSizeblob_run_mode: BlobRunModelevel_merge: boolrange_merge: boolmax_sorted_runs: i32gc_merge_rewrite: bool

Implementations

impl TitanCfConfig[src]

fn build_opts(&self) -> TitanDBOptions[src]

Trait Implementations

impl Clone for TitanCfConfig[src]

impl<'lt> Configuration<'lt> for TitanCfConfig[src]

type Encoder = TitanCfConfig_encoder_accd964e69a58792<'lt>

impl Debug for TitanCfConfig[src]

impl Default for TitanCfConfig[src]

impl<'de> Deserialize<'de> for TitanCfConfig where
    TitanCfConfig: Default
[src]

impl PartialEq<TitanCfConfig> for TitanCfConfig[src]

impl Serialize for TitanCfConfig[src]

impl StructuralPartialEq for TitanCfConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for TitanCfConfig

impl Send for TitanCfConfig

impl Sync for TitanCfConfig

impl Unpin for TitanCfConfig

impl UnwindSafe for TitanCfConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]