Struct parquet2::metadata::Descriptor
source · pub struct Descriptor {
pub primitive_type: PrimitiveType,
pub max_def_level: i16,
pub max_rep_level: i16,
}
Expand description
A descriptor of a parquet column. It contains the necessary information to deserialize a parquet column.
Fields§
§primitive_type: PrimitiveType
The PrimitiveType
of this column
max_def_level: i16
The maximum definition level
max_rep_level: i16
The maximum repetition level
Trait Implementations§
source§impl Clone for Descriptor
impl Clone for Descriptor
source§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 Descriptor
impl Debug for Descriptor
source§impl Hash for Descriptor
impl Hash for Descriptor
source§impl PartialEq<Descriptor> for Descriptor
impl PartialEq<Descriptor> for Descriptor
source§fn eq(&self, other: &Descriptor) -> bool
fn eq(&self, other: &Descriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.