Struct 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() -> Self
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§
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