14#include "col_names.hpp"
25 using memory::CSVFieldScalarList;
26 using memory::RawCSVField;
27 using memory::RawCSVFieldList;
28 using memory::RawCSVQuoteArena;
36 std::shared_ptr<void> _data =
nullptr;
53 internals::ColNamesPtr col_names =
nullptr;
63 return !this->field_scalars.empty();
67 using RawCSVDataPtr = std::shared_ptr<RawCSVData>;
Borrow a row and error state for synchronous, single-pass field access.
Stable sidecar storage for parser-time CSVFieldScalar values.
A class used for efficiently storing RawCSVField objects and expanding as necessary.
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.
Stable storage for eager CSV field scalar classifications.
The all encompassing namespace.
std::string_view string_view
The string_view class used by this library.
Stable sidecar storage for parser-realized quoted field bytes.
Compact parser metadata for a single CSV field.
Stable storage for RawCSVField metadata.
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.
size_t source_start
Absolute byte offset where this parsed chunk starts in the source.