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

Type of this column. Must be primitive.

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

Method to convert from Thrift.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.