pub struct EncodedPage {
pub data: Vec<LanceBuffer>,
pub description: PageEncoding,
pub num_rows: u64,
pub row_number: u64,
pub column_idx: u32,
}
Expand description
An encoded page of data
Maps to a top-level array
For example, FixedSizeList
Fields§
§data: Vec<LanceBuffer>
§description: PageEncoding
§num_rows: u64
The number of rows in the encoded page
row_number: u64
The top-level row number of the first row in the page
Generally the number of “top-level” rows and the number of rows are the same. However, when there is repetition (list/fixed-size-list) there will be more or less items than rows.
A top-level row can never be split across a page boundary.
column_idx: u32
The index of the column
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodedPage
impl RefUnwindSafe for EncodedPage
impl Send for EncodedPage
impl Sync for EncodedPage
impl Unpin for EncodedPage
impl UnwindSafe for EncodedPage
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