Struct parquet2::schema::ColumnChunk [−][src]
pub struct ColumnChunk { pub file_path: Option<String>, pub file_offset: i64, pub meta_data: Option<ColumnMetaData>, pub offset_index_offset: Option<i64>, pub offset_index_length: Option<i32>, pub column_index_offset: Option<i64>, pub column_index_length: Option<i32>, }
Fields
file_path: Option<String>
File where column data is stored. If not set, assumed to be same file as metadata. This path is relative to the current file.
file_offset: i64
Byte offset in file_path to the ColumnMetaData *
meta_data: Option<ColumnMetaData>
Column metadata for this chunk. This is the same content as what is at file_path/file_offset. Having it here has it replicated in the file metadata.
offset_index_offset: Option<i64>
File offset of ColumnChunk’s OffsetIndex *
offset_index_length: Option<i32>
Size of ColumnChunk’s OffsetIndex, in bytes *
column_index_offset: Option<i64>
File offset of ColumnChunk’s ColumnIndex *
column_index_length: Option<i32>
Size of ColumnChunk’s ColumnIndex, in bytes *
Implementations
pub fn new<F1, F3, F4, F5, F6, F7>(
file_path: F1,
file_offset: i64,
meta_data: F3,
offset_index_offset: F4,
offset_index_length: F5,
column_index_offset: F6,
column_index_length: F7
) -> ColumnChunk where
F5: Into<Option<i32>>,
F7: Into<Option<i32>>,
F4: Into<Option<i64>>,
F6: Into<Option<i64>>,
F1: Into<Option<String>>,
F3: Into<Option<ColumnMetaData>>,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColumnChunk
impl Send for ColumnChunk
impl Sync for ColumnChunk
impl Unpin for ColumnChunk
impl UnwindSafe for ColumnChunk
Blanket Implementations
Mutably borrows from an owned value. Read more