|
Vince's CSV Parser
|
Minimal parser shell for caller-owned chunks. More...
#include <chunks.hpp>
Inherits csv::internals::CSVParserCore< RowSink, ParsePolicy, FieldPolicy, RowPolicy >.
Additional Inherited Members | |
Protected Member Functions inherited from csv::internals::CSVParserCore< RowSink, ParsePolicy, FieldPolicy, RowPolicy > | |
| void | set_col_names (const ColNamesPtr &col_names) |
| void | set_whitespace_flags (const WhitespaceMap &ws_flags) |
| void | set_parse_flags (const ParseFlagMap &parse_flags) |
| void | set_parse_flags (const ParseFlagMap &parse_flags, char delimiter, char quote_char) |
| size_t | parse () |
| Parse the current chunk of data and return the completed-row prefix length. | |
| void | reset_data_ptr () |
| Create a new RawCSVDataPtr for a new chunk of data. | |
| const WhitespaceMap & | whitespace_flags () const noexcept |
| void | emit_row (CSVRow &&row) |
Protected Attributes inherited from csv::internals::CSVParserCore< RowSink, ParsePolicy, FieldPolicy, RowPolicy > | |
| CSVRow | current_row_ |
| RawCSVDataPtr | data_ptr_ = nullptr |
| ColNamesPtr | col_names_ = nullptr |
| RawCSVFieldList * | fields_ = nullptr |
| int | field_start_ = UNINITIALIZED_FIELD |
| size_t | field_length_ = 0 |
| SentinelVecs | simd_sentinels_ |
| Precomputed SIMD broadcast vectors for find_next_non_special. | |
| ParseFlagMap | parse_flags_ |
| An array where the (i + 128)th slot gives the ParseFlags for ASCII character i. | |
Minimal parser shell for caller-owned chunks.
The SIGMOD-style speculative path treats input sourcing as an external concern. This parser core only needs delimiter/whitespace state.
Definition at line 202 of file chunks.hpp.
|
inline |
Definition at line 214 of file chunks.hpp.
|
inline |
Definition at line 219 of file chunks.hpp.