pub struct StringCompressor;Trait Implementations§
Source§impl Compressor for StringCompressor
impl Compressor for StringCompressor
type ArrayVTable = VarBinViewVTable
type SchemeType = dyn StringScheme<CodeType = StringCode, StatsType = StringStats>
type StatsType = StringStats
fn schemes() -> &'static [&'static Self::SchemeType]
fn default_scheme() -> &'static Self::SchemeType
fn dict_scheme_code() -> StringCode
fn compress(
array: &<Self::ArrayVTable as VTable>::Array,
is_sample: bool,
allowed_cascading: usize,
excludes: &[<Self::SchemeType as Scheme>::CodeType],
) -> VortexResult<ArrayRef>where
Self::SchemeType: 'static,
fn choose_scheme( stats: &Self::StatsType, is_sample: bool, allowed_cascading: usize, excludes: &[<Self::SchemeType as Scheme>::CodeType], ) -> VortexResult<&'static Self::SchemeType>
Auto Trait Implementations§
impl Freeze for StringCompressor
impl RefUnwindSafe for StringCompressor
impl Send for StringCompressor
impl Sync for StringCompressor
impl Unpin for StringCompressor
impl UnwindSafe for StringCompressor
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> 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