pub struct ArrayToArrayPartialEncoderDefault { /* private fields */ }
Expand description
The default array-to-array partial encoder. Decodes the entire chunk, updates it, and writes the entire chunk.
Implementations§
Source§impl ArrayToArrayPartialEncoderDefault
impl ArrayToArrayPartialEncoderDefault
Sourcepub fn new(
input_handle: Arc<dyn ArrayPartialDecoderTraits>,
output_handle: Arc<dyn ArrayPartialEncoderTraits>,
decoded_representation: ChunkRepresentation,
codec: Arc<dyn ArrayToArrayCodecTraits>,
) -> Self
pub fn new( input_handle: Arc<dyn ArrayPartialDecoderTraits>, output_handle: Arc<dyn ArrayPartialEncoderTraits>, decoded_representation: ChunkRepresentation, codec: Arc<dyn ArrayToArrayCodecTraits>, ) -> Self
Create a new ArrayToArrayPartialEncoderDefault
.
Trait Implementations§
Source§impl ArrayPartialEncoderTraits for ArrayToArrayPartialEncoderDefault
impl ArrayPartialEncoderTraits for ArrayToArrayPartialEncoderDefault
Source§fn partial_encode(
&self,
subsets_and_bytes: &[(&ArraySubset, ArrayBytes<'_>)],
options: &CodecOptions,
) -> Result<(), CodecError>
fn partial_encode( &self, subsets_and_bytes: &[(&ArraySubset, ArrayBytes<'_>)], options: &CodecOptions, ) -> Result<(), CodecError>
Partially encode a chunk. Read more
Auto Trait Implementations§
impl Freeze for ArrayToArrayPartialEncoderDefault
impl !RefUnwindSafe for ArrayToArrayPartialEncoderDefault
impl Send for ArrayToArrayPartialEncoderDefault
impl Sync for ArrayToArrayPartialEncoderDefault
impl Unpin for ArrayToArrayPartialEncoderDefault
impl !UnwindSafe for ArrayToArrayPartialEncoderDefault
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