[][src]Struct agnes::source::csv::CsvSource

pub struct CsvSource { /* fields omitted */ }

CSV Data source. Contains location of data file, and computes CSV metadata. Can be turned into CsvReader object.

Methods

impl CsvSource[src]

pub fn new<L: Into<FileLocator>>(loc: L) -> Result<CsvSource>[src]

Create a new CsvSource object with provided file location. This constructor will analyze (sniff) the file to detect its metadata (delimiter, quote character, preamble, etc.)

Error

Fails if unable to open the file at the provided location, or if CSV analysis fails.

pub fn metadata(&self) -> &Metadata[src]

Return the compute Metadata for this CSV source.

Trait Implementations

impl Clone for CsvSource[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CsvSource[src]

Auto Trait Implementations

impl Send for CsvSource

impl Sync for CsvSource

Blanket Implementations

impl<T> IntoLabeled for T[src]

impl<T> HasLabels for T[src]

impl<Needle, Haystack> HasLabels for Haystack where
    Haystack: Member<Needle, IsMember = B1>,
    Needle: Label
[src]

impl<Frames, Store> JoinIntoStore for Frames[src]

type Output = Store

The output type after augmenting Store.

impl<Frames> AssocDataIndexCons for Frames[src]

type Output = Nil

Type of associated data index cons-list.

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T[src]

type Output = T

Should always be Self