pub struct ColumnChunkMetaData { /* private fields */ }
Available on crate feature io_parquet only.
Expand description

Metadata for a column chunk.

Implementations

Returns 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().

Returns this column’s [ColumnChunk]

The column’s [ColumnMetaData]

The ColumnDescriptor for this column. This descriptor contains the physical and logical type of the pages.

The PhysicalType of this column.

Decodes the raw statistics into [Statistics].

Total number of values in this column chunk. Note that this is not necessarily the number of rows. E.g. the (nested) array [[1, 2], [3]] has 2 rows and 3 values.

[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

Method to convert to Thrift.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.