[][src]Struct parquet::schema::types::ColumnPath

pub struct ColumnPath { /* fields omitted */ }

Represents a path in a nested schema

Implementations

impl ColumnPath[src]

pub fn new(parts: Vec<String>) -> Self[src]

Creates new column path from vector of field names.

pub fn string(&self) -> String[src]

Returns string representation of this column path.

use parquet::schema::types::ColumnPath;

let path = ColumnPath::new(vec!["a".to_string(), "b".to_string(), "c".to_string()]);
assert_eq!(&path.string(), "a.b.c");

pub fn append(&mut self, tail: Vec<String>)[src]

Appends more components to end of column path.

use parquet::schema::types::ColumnPath;

let mut path = ColumnPath::new(vec!["a".to_string(), "b".to_string(), "c"
.to_string()]);
assert_eq!(&path.string(), "a.b.c");

path.append(vec!["d".to_string(), "e".to_string()]);
assert_eq!(&path.string(), "a.b.c.d.e");

Trait Implementations

impl AsRef<[String]> for ColumnPath[src]

impl Clone for ColumnPath[src]

impl Debug for ColumnPath[src]

impl Display for ColumnPath[src]

impl Eq for ColumnPath[src]

impl<'a> From<&'a str> for ColumnPath[src]

impl From<String> for ColumnPath[src]

impl From<Vec<String>> for ColumnPath[src]

impl Hash for ColumnPath[src]

impl PartialEq<ColumnPath> for ColumnPath[src]

impl StructuralEq for ColumnPath[src]

impl StructuralPartialEq for ColumnPath[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,