Struct parquet::schema::types::ColumnPath [−][src]
pub struct ColumnPath { /* fields omitted */ }Represents a path in a nested schema
Methods
impl ColumnPath[src]
impl ColumnPathpub fn new(parts: Vec<String>) -> Self[src]
pub fn new(parts: Vec<String>) -> SelfCreates new column path from vector of field names.
pub fn string(&self) -> String[src]
pub fn string(&self) -> StringReturns 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");
Trait Implementations
impl Clone for ColumnPath[src]
impl Clone for ColumnPathfn clone(&self) -> ColumnPath[src]
fn clone(&self) -> ColumnPathReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ColumnPath[src]
impl PartialEq for ColumnPathfn eq(&self, other: &ColumnPath) -> bool[src]
fn eq(&self, other: &ColumnPath) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ColumnPath) -> bool[src]
fn ne(&self, other: &ColumnPath) -> boolThis method tests for !=.
impl Debug for ColumnPath[src]
impl Debug for ColumnPathfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ColumnPath[src]
impl Eq for ColumnPathimpl Hash for ColumnPath[src]
impl Hash for ColumnPathfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Display for ColumnPath[src]
impl Display for ColumnPathfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Vec<String>> for ColumnPath[src]
impl From<Vec<String>> for ColumnPathimpl<'a> From<&'a str> for ColumnPath[src]
impl<'a> From<&'a str> for ColumnPathimpl From<String> for ColumnPath[src]
impl From<String> for ColumnPathAuto Trait Implementations
impl Send for ColumnPath
impl Send for ColumnPathimpl Sync for ColumnPath
impl Sync for ColumnPath