Internals of CSVReader.
More...
Internals of CSVReader.
Only maintainers and those looking to extend the parser should read this.
◆ read_csv()
Read a chunk of CSV data.
- Note
- This method is meant to be run on its own thread. Only one
read_csv() thread should be active at a time.
- Parameters
-
| [in] | bytes | Number of bytes to read. |
- See also
- CSVReader::read_csv_worker
-
CSVReader::read_row()
Definition at line 261 of file csv_reader.cpp.
◆ set_col_names()
| void csv::CSVReader::set_col_names |
( |
const std::vector< std::string > & |
names | ) |
|
|
protected |
Sets this reader's column names and associated data.
- Parameters
-
Definition at line 244 of file csv_reader.cpp.
◆ _format
◆ _n_rows
| size_t csv::CSVReader::_n_rows = 0 |
|
protected |
How many rows (minus header) have been read so far.
Definition at line 283 of file csv_reader.hpp.
◆ col_names
Pointer to a object containing column information.
Definition at line 274 of file csv_reader.hpp.
◆ n_cols
| size_t csv::CSVReader::n_cols = 0 |
|
protected |
◆ parser
Helper class which actually does the parsing.
Definition at line 277 of file csv_reader.hpp.
◆ records