[][src]Struct parquet::file::metadata::ColumnChunkMetaData

pub struct ColumnChunkMetaData { /* fields omitted */ }

Metadata for a column chunk.

Implementations

impl ColumnChunkMetaData[src]

Represents common operations for a column chunk.

pub fn builder(column_descr: ColumnDescPtr) -> ColumnChunkMetaDataBuilder[src]

Returns builder for column chunk metadata.

pub fn file_path(&self) -> Option<&String>[src]

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.

pub fn file_offset(&self) -> i64[src]

Byte offset in file_path().

pub fn column_type(&self) -> Type[src]

Type of this column. Must be primitive.

pub fn column_path(&self) -> &ColumnPath[src]

Path (or identifier) of this column.

pub fn column_descr(&self) -> &ColumnDescriptor[src]

Descriptor for this column.

pub fn column_descr_ptr(&self) -> ColumnDescPtr[src]

Reference counted clone of descriptor for this column.

pub fn encodings(&self) -> &Vec<Encoding>[src]

All encodings used for this column.

pub fn num_values(&self) -> i64[src]

Total number of values in this column chunk.

pub fn compression(&self) -> Compression[src]

Compression for this column.

pub fn compressed_size(&self) -> i64[src]

Returns the total compressed data size of this column chunk.

pub fn uncompressed_size(&self) -> i64[src]

Returns the total uncompressed data size of this column chunk.

pub fn data_page_offset(&self) -> i64[src]

Returns the offset for the column data.

pub fn has_index_page(&self) -> bool[src]

Returns true if this column chunk contains a index page, false otherwise.

pub fn index_page_offset(&self) -> Option<i64>[src]

Returns the offset for the index page.

pub fn has_dictionary_page(&self) -> bool[src]

Returns true if this column chunk contains a dictionary page, false otherwise.

pub fn dictionary_page_offset(&self) -> Option<i64>[src]

Returns the offset for the dictionary page, if any.

pub fn statistics(&self) -> Option<&Statistics>[src]

Returns statistics that are set for this column chunk, or None if no statistics are available.

pub fn from_thrift(column_descr: ColumnDescPtr, cc: ColumnChunk) -> Result<Self>[src]

Method to convert from Thrift.

pub fn to_thrift(&self) -> ColumnChunk[src]

Method to convert to Thrift.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,