pub struct ValueEncoder {}
Expand description
A compression strategy that writes fixed-width data as-is (no compression)
Trait Implementations§
Source§impl ArrayEncoder for ValueEncoder
impl ArrayEncoder for ValueEncoder
Source§impl BlockCompressor for ValueEncoder
impl BlockCompressor for ValueEncoder
Source§impl Debug for ValueEncoder
impl Debug for ValueEncoder
Source§impl Default for ValueEncoder
impl Default for ValueEncoder
Source§fn default() -> ValueEncoder
fn default() -> ValueEncoder
Returns the “default value” for a type. Read more
Source§impl MiniBlockCompressor for ValueEncoder
impl MiniBlockCompressor for ValueEncoder
Source§fn compress(
&self,
chunk: DataBlock,
) -> Result<(MiniBlockCompressed, ArrayEncoding)>
fn compress( &self, chunk: DataBlock, ) -> Result<(MiniBlockCompressed, ArrayEncoding)>
Compress a
page
of data into multiple chunks Read moreSource§impl PerValueCompressor for ValueEncoder
impl PerValueCompressor for ValueEncoder
Source§fn compress(
&self,
data: DataBlock,
) -> Result<(PerValueDataBlock, ArrayEncoding)>
fn compress( &self, data: DataBlock, ) -> Result<(PerValueDataBlock, ArrayEncoding)>
Compress the data into a single buffer Read more
Auto Trait Implementations§
impl Freeze for ValueEncoder
impl RefUnwindSafe for ValueEncoder
impl Send for ValueEncoder
impl Sync for ValueEncoder
impl Unpin for ValueEncoder
impl UnwindSafe for ValueEncoder
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
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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