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
) -> ColumnDescriptor
pub fn new( descriptor: Descriptor, path_in_schema: Vec<String>, base_type: ParquetType ) -> ColumnDescriptor
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 for ColumnDescriptor
impl PartialEq 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 ==
.impl StructuralPartialEq for ColumnDescriptor
Auto Trait Implementations§
impl Freeze for ColumnDescriptor
impl RefUnwindSafe for ColumnDescriptor
impl Send for ColumnDescriptor
impl Sync for ColumnDescriptor
impl Unpin for ColumnDescriptor
impl UnwindSafe for ColumnDescriptor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more