[][src]Struct rocks::listener::CompactionJobInfo

pub struct CompactionJobInfo<'a> { /* fields omitted */ }

Implementations

impl<'a> CompactionJobInfo<'a>[src]

pub fn cf_name(&self) -> &'a str[src]

the name of the column family where the compaction happened.

pub fn status(&self) -> Result<()>[src]

the status indicating whether the compaction was successful or not.

pub fn thread_id(&self) -> u64[src]

the id of the thread that completed this compaction job.

pub fn job_id(&self) -> i32[src]

the job id, which is unique in the same thread.

pub fn base_input_level(&self) -> i32[src]

the smallest input level of the compaction.

pub fn output_level(&self) -> i32[src]

the output level of the compaction.

pub fn input_files(&self) -> Vec<&'a str>[src]

the names of the compaction input files.

pub fn output_files(&self) -> Vec<&'a str>[src]

the names of the compaction output files.

pub fn table_properties(&self) -> TablePropertiesCollection[src]

Table properties for input and output tables. The map is keyed by values from input_files and output_files.

pub fn compaction_reason(&self) -> CompactionReason[src]

Reason to run the compaction

pub fn compression(&self) -> CompressionType[src]

Compression algorithm used for output files

pub fn stats(&self) -> CompactionJobStats[src]

If non-null, this variable stores detailed information about this compaction.

Trait Implementations

impl<'a> Debug for CompactionJobInfo<'a>[src]

Auto Trait Implementations

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<T> From<T> for T[src]

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

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.