pub struct ColumnDescriptor {
pub descriptor: Descriptor,
pub path_in_schema: Vec<PlSmallStr>,
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<PlSmallStr>
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<PlSmallStr>,
base_type: ParquetType,
) -> Self
pub fn new( descriptor: Descriptor, path_in_schema: Vec<PlSmallStr>, 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 for ColumnDescriptor
impl PartialEq for ColumnDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more