14#include "col_names.hpp"
16#include "memory/constants.hpp"
17#include "memory/field_scalar_list.hpp"
18#include "memory/quote_arena.hpp"
19#include "memory/raw_csv_field.hpp"
20#include "memory/raw_csv_field_list.hpp"
26 using memory::INVALID_REALIZED_OFFSET;
27 using memory::CSVFieldScalarList;
28 using memory::RawCSVField;
29 using memory::RawCSVFieldList;
30 using memory::RawCSVQuoteArena;
38 std::shared_ptr<void> _data =
nullptr;
41 internals::RawCSVFieldList fields;
52 internals::ColNamesPtr col_names =
nullptr;
61 bool has_field_scalars() const noexcept {
62 return !this->field_scalars.empty();
66 using RawCSVDataPtr = std::shared_ptr<RawCSVData>;
A standalone header file containing shared code.
std::array< ParseFlags, 256 > ParseFlagMap
An array which maps ASCII chars to a parsing flag.
std::array< bool, 256 > WhitespaceMap
An array which maps ASCII chars to a flag indicating if it is whitespace.
The all encompassing namespace.
std::string_view string_view
The string_view class used by this library.
A class for storing raw CSV data and associated metadata.
internals::RawCSVQuoteArena quote_arena
Parser-time sidecar bytes for fields whose quoted contents contained doubled quotes.
bool has_ws_trimming
True when at least one whitespace trim character is configured.
internals::lazy_shared_ptr< JsonConverter > json_converter
Cached JSON converter for rows sharing this parsed backing storage.
internals::CSVFieldScalarList field_scalars
Optional parser-time scalar sidecar; empty unless eager classification is enabled.