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

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]

[src]

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

Error

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

[src]

Return the compute Metadata for this CSV source.

Trait Implementations

impl Debug for CsvSource
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CsvSource

impl Sync for CsvSource