Struct parquet::file::metadata::ColumnChunkMetaData [−][src]
pub struct ColumnChunkMetaData { /* fields omitted */ }
Expand description
Metadata for a column chunk.
Implementations
impl ColumnChunkMetaData
[src]
impl ColumnChunkMetaData
[src]Represents common operations for a column chunk.
pub fn builder(column_descr: ColumnDescPtr) -> ColumnChunkMetaDataBuilder
[src]
pub fn builder(column_descr: ColumnDescPtr) -> ColumnChunkMetaDataBuilder
[src]Returns builder for column chunk metadata.
pub fn file_path(&self) -> Option<&String>
[src]
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]
pub fn file_offset(&self) -> i64
[src]Byte offset in file_path()
.
pub fn column_type(&self) -> Type
[src]
pub fn column_type(&self) -> Type
[src]Type of this column. Must be primitive.
pub fn column_path(&self) -> &ColumnPath
[src]
pub fn column_path(&self) -> &ColumnPath
[src]Path (or identifier) of this column.
pub fn column_descr(&self) -> &ColumnDescriptor
[src]
pub fn column_descr(&self) -> &ColumnDescriptor
[src]Descriptor for this column.
pub fn column_descr_ptr(&self) -> ColumnDescPtr
[src]
pub fn column_descr_ptr(&self) -> ColumnDescPtr
[src]Reference counted clone of descriptor for this column.
pub fn num_values(&self) -> i64
[src]
pub fn num_values(&self) -> i64
[src]Total number of values in this column chunk.
pub fn compression(&self) -> Compression
[src]
pub fn compression(&self) -> Compression
[src]Compression for this column.
pub fn compressed_size(&self) -> i64
[src]
pub fn compressed_size(&self) -> i64
[src]Returns the total compressed data size of this column chunk.
pub fn uncompressed_size(&self) -> i64
[src]
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]
pub fn data_page_offset(&self) -> i64
[src]Returns the offset for the column data.
pub fn has_index_page(&self) -> bool
[src]
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]
pub fn index_page_offset(&self) -> Option<i64>
[src]Returns the offset for the index page.
pub fn has_dictionary_page(&self) -> bool
[src]
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]
pub fn dictionary_page_offset(&self) -> Option<i64>
[src]Returns the offset for the dictionary page, if any.
pub fn byte_range(&self) -> (u64, u64)
[src]
pub fn byte_range(&self) -> (u64, u64)
[src]Returns the offset and length in bytes of the column chunk within the file
pub fn statistics(&self) -> Option<&Statistics>
[src]
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]
pub fn from_thrift(column_descr: ColumnDescPtr, cc: ColumnChunk) -> Result<Self>
[src]Method to convert from Thrift.
pub fn to_thrift(&self) -> ColumnChunk
[src]
pub fn to_thrift(&self) -> ColumnChunk
[src]Method to convert to Thrift.
Trait Implementations
impl Clone for ColumnChunkMetaData
[src]
impl Clone for ColumnChunkMetaData
[src]fn clone(&self) -> ColumnChunkMetaData
[src]
fn clone(&self) -> ColumnChunkMetaData
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,