Struct deltalake::datafusion::parquet::file::metadata::ColumnChunkMetaDataBuilder
source · pub struct ColumnChunkMetaDataBuilder(/* private fields */);
Expand description
Builder for column chunk metadata.
Implementations§
source§impl ColumnChunkMetaDataBuilder
impl ColumnChunkMetaDataBuilder
sourcepub fn set_encodings(
self,
encodings: Vec<Encoding>
) -> ColumnChunkMetaDataBuilder
pub fn set_encodings( self, encodings: Vec<Encoding> ) -> ColumnChunkMetaDataBuilder
Sets list of encodings for this column chunk.
sourcepub fn set_file_path(self, value: String) -> ColumnChunkMetaDataBuilder
pub fn set_file_path(self, value: String) -> ColumnChunkMetaDataBuilder
Sets optional file path for this column chunk.
sourcepub fn set_file_offset(self, value: i64) -> ColumnChunkMetaDataBuilder
pub fn set_file_offset(self, value: i64) -> ColumnChunkMetaDataBuilder
Sets file offset in bytes.
sourcepub fn set_num_values(self, value: i64) -> ColumnChunkMetaDataBuilder
pub fn set_num_values(self, value: i64) -> ColumnChunkMetaDataBuilder
Sets number of values.
sourcepub fn set_compression(self, value: Compression) -> ColumnChunkMetaDataBuilder
pub fn set_compression(self, value: Compression) -> ColumnChunkMetaDataBuilder
Sets compression.
sourcepub fn set_total_compressed_size(self, value: i64) -> ColumnChunkMetaDataBuilder
pub fn set_total_compressed_size(self, value: i64) -> ColumnChunkMetaDataBuilder
Sets total compressed size in bytes.
sourcepub fn set_total_uncompressed_size(
self,
value: i64
) -> ColumnChunkMetaDataBuilder
pub fn set_total_uncompressed_size( self, value: i64 ) -> ColumnChunkMetaDataBuilder
Sets total uncompressed size in bytes.
sourcepub fn set_data_page_offset(self, value: i64) -> ColumnChunkMetaDataBuilder
pub fn set_data_page_offset(self, value: i64) -> ColumnChunkMetaDataBuilder
Sets data page offset in bytes.
sourcepub fn set_dictionary_page_offset(
self,
value: Option<i64>
) -> ColumnChunkMetaDataBuilder
pub fn set_dictionary_page_offset( self, value: Option<i64> ) -> ColumnChunkMetaDataBuilder
Sets optional dictionary page ofset in bytes.
sourcepub fn set_index_page_offset(
self,
value: Option<i64>
) -> ColumnChunkMetaDataBuilder
pub fn set_index_page_offset( self, value: Option<i64> ) -> ColumnChunkMetaDataBuilder
Sets optional index page offset in bytes.
sourcepub fn set_statistics(self, value: Statistics) -> ColumnChunkMetaDataBuilder
pub fn set_statistics(self, value: Statistics) -> ColumnChunkMetaDataBuilder
Sets statistics for this column chunk.
sourcepub fn set_page_encoding_stats(
self,
value: Vec<PageEncodingStats>
) -> ColumnChunkMetaDataBuilder
pub fn set_page_encoding_stats( self, value: Vec<PageEncodingStats> ) -> ColumnChunkMetaDataBuilder
Sets page encoding stats for this column chunk.
sourcepub fn set_bloom_filter_offset(
self,
value: Option<i64>
) -> ColumnChunkMetaDataBuilder
pub fn set_bloom_filter_offset( self, value: Option<i64> ) -> ColumnChunkMetaDataBuilder
Sets optional bloom filter offset in bytes.
sourcepub fn set_bloom_filter_length(
self,
value: Option<i32>
) -> ColumnChunkMetaDataBuilder
pub fn set_bloom_filter_length( self, value: Option<i32> ) -> ColumnChunkMetaDataBuilder
Sets optional bloom filter length in bytes.
sourcepub fn set_offset_index_offset(
self,
value: Option<i64>
) -> ColumnChunkMetaDataBuilder
pub fn set_offset_index_offset( self, value: Option<i64> ) -> ColumnChunkMetaDataBuilder
Sets optional offset index offset in bytes.
sourcepub fn set_offset_index_length(
self,
value: Option<i32>
) -> ColumnChunkMetaDataBuilder
pub fn set_offset_index_length( self, value: Option<i32> ) -> ColumnChunkMetaDataBuilder
Sets optional offset index length in bytes.
sourcepub fn set_column_index_offset(
self,
value: Option<i64>
) -> ColumnChunkMetaDataBuilder
pub fn set_column_index_offset( self, value: Option<i64> ) -> ColumnChunkMetaDataBuilder
Sets optional column index offset in bytes.
sourcepub fn set_column_index_length(
self,
value: Option<i32>
) -> ColumnChunkMetaDataBuilder
pub fn set_column_index_length( self, value: Option<i32> ) -> ColumnChunkMetaDataBuilder
Sets optional column index length in bytes.
sourcepub fn build(self) -> Result<ColumnChunkMetaData, ParquetError>
pub fn build(self) -> Result<ColumnChunkMetaData, ParquetError>
Builds column chunk metadata.
Auto Trait Implementations§
impl !Freeze for ColumnChunkMetaDataBuilder
impl RefUnwindSafe for ColumnChunkMetaDataBuilder
impl Send for ColumnChunkMetaDataBuilder
impl Sync for ColumnChunkMetaDataBuilder
impl Unpin for ColumnChunkMetaDataBuilder
impl UnwindSafe for ColumnChunkMetaDataBuilder
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
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>
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>
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