Struct lance_file::v2::reader::CachedFileMetadata
source · pub struct CachedFileMetadata {
pub file_schema: Schema,
pub column_metadatas: Vec<ColumnMetadata>,
pub num_rows: u64,
pub file_buffers: Vec<BufferDescriptor>,
pub num_data_bytes: u64,
pub num_column_metadata_bytes: u64,
pub num_global_buffer_bytes: u64,
pub major_version: u16,
pub minor_version: u16,
}Fields§
§file_schema: SchemaThe schema of the file
column_metadatas: Vec<ColumnMetadata>The column metadatas
num_rows: u64The number of rows in the file
file_buffers: Vec<BufferDescriptor>§num_data_bytes: u64The number of bytes contained in the data page section of the file
num_column_metadata_bytes: u64The number of bytes contained in the column metadata section of the file
num_global_buffer_bytes: u64The number of bytes contained in the global buffer section of the file
major_version: u16§minor_version: u16Auto Trait Implementations§
impl Freeze for CachedFileMetadata
impl RefUnwindSafe for CachedFileMetadata
impl Send for CachedFileMetadata
impl Sync for CachedFileMetadata
impl Unpin for CachedFileMetadata
impl UnwindSafe for CachedFileMetadata
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