Struct parquet2::metadata::ColumnDescriptor
source · [−]pub struct ColumnDescriptor { /* private fields */ }
Expand description
A descriptor for leaf-level primitive columns. This encapsulates information such as definition and repetition levels and is used to re-assemble nested data.
Implementations
pub fn new(
primitive_type: ParquetType,
max_def_level: i16,
max_rep_level: i16,
path_in_schema: Vec<String>,
base_type: ParquetType
) -> Self
pub fn new(
primitive_type: ParquetType,
max_def_level: i16,
max_rep_level: i16,
path_in_schema: Vec<String>,
base_type: ParquetType
) -> Self
Creates new descriptor for leaf-level column.
Returns maximum definition level for this column.
Returns maximum repetition level for this column.
Returns self type ParquetType
for this leaf column.
Returns self type PhysicalType
for this leaf column.
Panic
This function panics if the corresponding ParquetType
is not a primitive type
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ColumnDescriptor
impl Send for ColumnDescriptor
impl Sync for ColumnDescriptor
impl Unpin for ColumnDescriptor
impl UnwindSafe for ColumnDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more