pub struct DeltaByteArrayDecoder {
prefix_lengths: Vec<i32>,
suffix_lengths: Vec<i32>,
data: Bytes,
length_offset: usize,
data_offset: usize,
last_value: Vec<u8>,
}Expand description
Decoder for Encoding::DELTA_BYTE_ARRAY
Fields§
§prefix_lengths: Vec<i32>§suffix_lengths: Vec<i32>§data: Bytes§length_offset: usize§data_offset: usize§last_value: Vec<u8>Implementations§
Source§impl DeltaByteArrayDecoder
impl DeltaByteArrayDecoder
Sourcepub fn new(data: Bytes) -> Result<Self>
pub fn new(data: Bytes) -> Result<Self>
Create a new DeltaByteArrayDecoder with the provided data page
Auto Trait Implementations§
impl !Freeze for DeltaByteArrayDecoder
impl RefUnwindSafe for DeltaByteArrayDecoder
impl Send for DeltaByteArrayDecoder
impl Sync for DeltaByteArrayDecoder
impl Unpin for DeltaByteArrayDecoder
impl UnwindSafe for DeltaByteArrayDecoder
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