[−][src]Struct rocks::listener::CompactionJobInfo
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
impl<'a> RefUnwindSafe for CompactionJobInfo<'a>
[src]
impl<'a> !Send for CompactionJobInfo<'a>
[src]
impl<'a> !Sync for CompactionJobInfo<'a>
[src]
impl<'a> Unpin for CompactionJobInfo<'a>
[src]
impl<'a> UnwindSafe for CompactionJobInfo<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,