[][src]Struct parquet::record::Row

pub struct Row { /* fields omitted */ }

Row represents a nested Parquet record.

Implementations

impl Row[src]

pub fn len(&self) -> usize[src]

Get the number of fields in this row.

pub fn get_column_iter(&self) -> RowColumnIter[src]

Get an iterator to go through all columns in the row.

Example

use std::fs::File;
use parquet::record::Row;
use parquet::file::reader::{FileReader, SerializedFileReader};

let file = File::open("/path/to/file").unwrap();
let reader = SerializedFileReader::new(file).unwrap();
let row: Row = reader.get_row_iter(None).unwrap().next().unwrap();
for (idx, (name, field)) in row.get_column_iter().enumerate() {
    println!("column index: {}, column name: {}, column value: {}", idx, name, field);
}

Trait Implementations

impl Clone for Row[src]

impl Debug for Row[src]

impl Display for Row[src]

impl PartialEq<Row> for Row[src]

impl RowAccessor for Row[src]

impl RowFormatter for Row[src]

fn fmt(&self, i: usize) -> &dyn Display[src]

Get Display reference for a given field.

impl StructuralPartialEq for Row[src]

Auto Trait Implementations

impl !RefUnwindSafe for Row

impl !Send for Row

impl !Sync for Row

impl Unpin for Row

impl !UnwindSafe for Row

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<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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>, 

impl<T> WithSubscriber for T[src]