#include <utils/CSVReader.h>
◆ FileCSVReader()
taco::FileCSVReader::FileCSVReader |
( |
bool |
has_header = false , |
|
|
char |
delim = ',' , |
|
|
size_t |
bufsize = (size_t) 65536 |
|
) |
| |
◆ FeedFile()
void taco::FileCSVReader::FeedFile |
( |
absl::string_view |
filename, |
|
|
bool |
is_last_file = true |
|
) |
| |
◆ Next()
bool taco::FileCSVReader::Next |
( |
absl::string_view & |
field | ) |
|
◆ NextDeserializedRecord()
const std::vector< Datum > * taco::FileCSVReader::NextDeserializedRecord |
( |
| ) |
|
The returned vector points to an internal buffer.
This function only returns a non-null pointer when a complete line is read.
◆ NextSerializedRecord()
Record taco::FileCSVReader::NextSerializedRecord |
( |
| ) |
|
The returned record points to an internal buffer.
◆ SetSchema()
void taco::FileCSVReader::SetSchema |
( |
const Schema * |
sch | ) |
|
◆ m_buf
◆ m_bufsz
const size_t taco::FileCSVReader::m_bufsz |
|
private |
◆ m_data
std::vector<Datum> taco::FileCSVReader::m_data |
|
private |
◆ m_fsfile
std::unique_ptr<FSFile> taco::FileCSVReader::m_fsfile |
|
private |
◆ m_fsize
size_t taco::FileCSVReader::m_fsize |
|
private |
◆ m_infuncs
◆ m_is_last_file
bool taco::FileCSVReader::m_is_last_file |
|
private |
◆ m_nbytes_read
size_t taco::FileCSVReader::m_nbytes_read |
|
private |
◆ m_recbuf
◆ m_schema
const Schema* taco::FileCSVReader::m_schema |
|
private |
The documentation for this class was generated from the following files: