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: LanceFileVersionImplementations§
Source§impl StructuralEncodingStrategy
impl StructuralEncodingStrategy
pub fn with_version(version: LanceFileVersion) -> Self
Trait 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 !RefUnwindSafe for StructuralEncodingStrategy
impl !UnwindSafe for StructuralEncodingStrategy
impl Freeze for StructuralEncodingStrategy
impl Send for StructuralEncodingStrategy
impl Sync for StructuralEncodingStrategy
impl Unpin for StructuralEncodingStrategy
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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