Struct parquet2::metadata::ColumnChunkMetaData
source · [−]pub struct ColumnChunkMetaData { /* private fields */ }
Expand description
Metadata for a column chunk.
Implementations
Represents common operations for a column chunk.
Create a new ColumnChunkMetaData
File where the column chunk is stored.
If not set, assumed to belong to the same file as the metadata. This path is relative to the current file.
Byte offset in file_path()
.
The ColumnDescriptor
for this column. This descriptor contains the physical and logical type
of the pages.
The ColumnDescriptor
for this column. This descriptor contains the physical and logical type
of the pages.
Decodes the raw statistics into a statistics
Total number of values in this column chunk.
Compression
for this column.
Returns the total compressed data size of this column chunk.
Returns the total uncompressed data size of this column chunk.
Returns the offset for the column data.
Returns true
if this column chunk contains a index page, false
otherwise.
Returns the offset for the index page.
Returns the offset for the dictionary page, if any.
Returns the encoding for this column
Returns the offset and length in bytes of the column chunk within the file
pub fn try_from_thrift(
column_descr: ColumnDescriptor,
column_chunk: ColumnChunk
) -> Result<Self>
pub fn try_from_thrift(
column_descr: ColumnDescriptor,
column_chunk: ColumnChunk
) -> Result<Self>
Method to convert from Thrift.
Method to convert to Thrift.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ColumnChunkMetaData
impl Send for ColumnChunkMetaData
impl Sync for ColumnChunkMetaData
impl Unpin for ColumnChunkMetaData
impl UnwindSafe for ColumnChunkMetaData
Blanket Implementations
Mutably borrows from an owned value. Read more