pub struct PageInfo {
pub num_rows: u64,
pub priority: u64,
pub encoding: PageEncoding,
pub buffer_offsets_and_sizes: Arc<[(u64, u64)]>,
}Expand description
Metadata describing a page in a file
This is typically created by reading the metadata section of a Lance file
Fields§
§num_rows: u64The number of rows in the page
priority: u64The priority (top level row number) of the page
This is only set in 2.1 files and will be 0 for 2.0 files
encoding: PageEncodingThe encoding that explains the buffers in the page
buffer_offsets_and_sizes: Arc<[(u64, u64)]>The offsets and sizes of the buffers in the file
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnwindSafe for PageInfo
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