pub struct StructuralEncodingStrategy {
pub compression_strategy: Arc<dyn CompressionStrategy>,
pub version: LanceFileVersion,
}Expand description
An encoding strategy used for 2.1+ files
Fields§
§compression_strategy: Arc<dyn CompressionStrategy>§version: LanceFileVersionTrait Implementations§
Source§impl Debug for StructuralEncodingStrategy
impl Debug for StructuralEncodingStrategy
Source§impl Default for StructuralEncodingStrategy
impl Default for StructuralEncodingStrategy
Source§impl FieldEncodingStrategy for StructuralEncodingStrategy
impl FieldEncodingStrategy for StructuralEncodingStrategy
Source§fn create_field_encoder(
&self,
encoding_strategy_root: &dyn FieldEncodingStrategy,
field: &Field,
column_index: &mut ColumnIndexSequence,
options: &EncodingOptions,
) -> Result<Box<dyn FieldEncoder>>
fn create_field_encoder( &self, encoding_strategy_root: &dyn FieldEncodingStrategy, field: &Field, column_index: &mut ColumnIndexSequence, options: &EncodingOptions, ) -> Result<Box<dyn FieldEncoder>>
Choose and create an appropriate field encoder for the given
field. Read more
Auto Trait Implementations§
impl Freeze for StructuralEncodingStrategy
impl !RefUnwindSafe for StructuralEncodingStrategy
impl Send for StructuralEncodingStrategy
impl Sync for StructuralEncodingStrategy
impl Unpin for StructuralEncodingStrategy
impl !UnwindSafe for StructuralEncodingStrategy
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