extract the set of ids from the row record.
match comments prefixed with #
match comments prefixed with #
map from the data set to the type T returned by the block function
map from the data set to the type T returned by the block function
The blockFn takes the parameters (Int,T), I2 The first paramter is a tuple of (Int, T) which allows the row index to be sent as the first item and the accumulator type of T to be supplied as the second item and returns a type of T which is either the same instance of the accumulator or a new accumulator of same type. The block function allows the CsvReader to transform the data into the accumulator type T.
read the file and pass each line into the supplied block
read the file and pass each line into the supplied block
read the CSV file, operate upon the headers if necessary and extract an index of row identifiers.
read the CSV file, operate upon the headers if necessary and extract an index of row identifiers. Remove dentifiers from the resulting CSV data.
read data as CSV return a row based table with columns in each row.
read data as CSV return a row based table with columns in each row.
: f(T, mutable.Buffer[String]) => T the block function allows accumulation of each line in the Csv into the type T the block function recieves the T accumulator for each row in the CSV and a set of columns as the second parameter. It processes the columns and returns a second row.
read data as CSV return a row based table with columns in each row.
read data as CSV return a row based table with columns in each row.
read all lines in a supplied file
read all lines in a supplied file
skip all lines that are either empty or start with the hash # token
skip all lines that are either empty or start with the hash # token
Read the CSV data and map identifier columns into a resulting map where each row index of the Csv is returned for the corresponding set of identifier columns. Note in the case where the idColumns is an empty sequence no row indexes will be returned. Created by cd on 9/1/17.