pub struct CachedFileMetadata {
pub file_schema: Arc<Schema>,
pub column_metadatas: Vec<ColumnMetadata>,
pub column_infos: Vec<Arc<ColumnInfo>>,
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 num_footer_bytes: u64,
pub major_version: u16,
pub minor_version: u16,
}
Fields§
§file_schema: Arc<Schema>
The schema of the file
column_metadatas: Vec<ColumnMetadata>
The column metadatas
column_infos: Vec<Arc<ColumnInfo>>
§num_rows: u64
The number of rows in the file
file_buffers: Vec<BufferDescriptor>
§num_data_bytes: u64
The number of bytes contained in the data page section of the file
num_column_metadata_bytes: u64
The number of bytes contained in the column metadata (not including buffers referenced by the metadata)
num_global_buffer_bytes: u64
The number of bytes contained in global buffers
The number of bytes contained in the CMO and GBO tables
major_version: u16
§minor_version: u16
Implementations§
Source§impl CachedFileMetadata
impl CachedFileMetadata
pub fn version(&self) -> LanceFileVersion
Trait Implementations§
Source§impl Debug for CachedFileMetadata
impl Debug for CachedFileMetadata
Source§impl DeepSizeOf for CachedFileMetadata
impl DeepSizeOf for CachedFileMetadata
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Auto 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 moreCreates a shared type from an unshared type.