Struct deltalake::datafusion::parquet::file::metadata::OffsetIndexBuilder
source · pub struct OffsetIndexBuilder { /* private fields */ }
Expand description
Builder for offset index
Implementations§
source§impl OffsetIndexBuilder
impl OffsetIndexBuilder
pub fn new() -> OffsetIndexBuilder
pub fn append_row_count(&mut self, row_count: i64)
pub fn append_offset_and_size(&mut self, offset: i64, compressed_page_size: i32)
sourcepub fn build_to_thrift(self) -> OffsetIndex
pub fn build_to_thrift(self) -> OffsetIndex
Build and get the thrift metadata of offset index
Trait Implementations§
source§impl Default for OffsetIndexBuilder
impl Default for OffsetIndexBuilder
source§fn default() -> OffsetIndexBuilder
fn default() -> OffsetIndexBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OffsetIndexBuilder
impl RefUnwindSafe for OffsetIndexBuilder
impl Send for OffsetIndexBuilder
impl Sync for OffsetIndexBuilder
impl Unpin for OffsetIndexBuilder
impl UnwindSafe for OffsetIndexBuilder
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.