pub struct Work<T> {
pub moved: T,
pub carried: T,
pub reprotected: T,
pub reencoded: T,
pub read: T,
pub written: T,
}Expand description
One figure per kind of compaction work.
Fields§
§moved: TBytes of tables given another level where they lie: the version records them there, and nothing is read or written.
carried: TEncoded bytes copied from an input into an output without being decoded: the row groups and column pages a merge left as they were, the blocks of a relocated segment, blob frames.
reprotected: TCopied bytes authenticated or protected again under the output’s identity, their payload neither decoded nor compressed again. No compaction makes such a copy: the units of an encrypted table, or of one with parity, are bound to it, and a merge decodes its rows.
reencoded: TOutput bytes encoded from decoded rows.
read: TBytes read from the inputs’ files.
written: TBytes written to the outputs: the output tables’ files and the value frames of the output blob files.
Trait Implementations§
impl<T: Copy> Copy for Work<T>
impl<T: Eq> Eq for Work<T>
impl<T: PartialEq> StructuralPartialEq for Work<T>
Auto Trait Implementations§
impl<T> Freeze for Work<T>where
T: Freeze,
impl<T> RefUnwindSafe for Work<T>where
T: RefUnwindSafe,
impl<T> Send for Work<T>where
T: Send,
impl<T> Sync for Work<T>where
T: Sync,
impl<T> Unpin for Work<T>where
T: Unpin,
impl<T> UnsafeUnpin for Work<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Work<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more