Struct parquet2::metadata::ColumnDescriptor
source · pub struct ColumnDescriptor {
pub descriptor: Descriptor,
pub path_in_schema: Vec<String>,
pub base_type: ParquetType,
}
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.
Fields§
§descriptor: Descriptor
The descriptor this columns’ leaf.
path_in_schema: Vec<String>
The path of this column. For instance, “a.b.c.d”.
base_type: ParquetType
The ParquetType
this descriptor is a leaf of
Implementations§
source§impl ColumnDescriptor
impl ColumnDescriptor
sourcepub fn new(
descriptor: Descriptor,
path_in_schema: Vec<String>,
base_type: ParquetType
) -> Self
pub fn new( descriptor: Descriptor, path_in_schema: Vec<String>, base_type: ParquetType ) -> Self
Creates new descriptor for leaf-level column.
Trait Implementations§
source§impl Clone for ColumnDescriptor
impl Clone for ColumnDescriptor
source§fn clone(&self) -> ColumnDescriptor
fn clone(&self) -> ColumnDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ColumnDescriptor
impl Debug for ColumnDescriptor
source§impl PartialEq<ColumnDescriptor> for ColumnDescriptor
impl PartialEq<ColumnDescriptor> for ColumnDescriptor
source§fn eq(&self, other: &ColumnDescriptor) -> bool
fn eq(&self, other: &ColumnDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.