struct DictEncoder {
interner: Interner<ByteArrayStorage>,
indices: Vec<u64>,
variable_length_bytes: i64,
}Expand description
A dictionary encoder for byte array data
Fields§
§interner: Interner<ByteArrayStorage>§indices: Vec<u64>§variable_length_bytes: i64Implementations§
Source§impl DictEncoder
impl DictEncoder
fn bit_width(&self) -> u8
fn estimated_memory_size(&self) -> usize
fn estimated_data_page_size(&self) -> usize
fn estimated_dict_page_size(&self) -> usize
fn flush_dict_page(self) -> DictionaryPage
fn flush_data_page( &mut self, min_value: Option<ByteArray>, max_value: Option<ByteArray>, ) -> DataPageValues<ByteArray>
Trait Implementations§
Source§impl Debug for DictEncoder
impl Debug for DictEncoder
Source§impl Default for DictEncoder
impl Default for DictEncoder
Source§fn default() -> DictEncoder
fn default() -> DictEncoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DictEncoder
impl RefUnwindSafe for DictEncoder
impl Send for DictEncoder
impl Sync for DictEncoder
impl Unpin for DictEncoder
impl UnwindSafe for DictEncoder
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