Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::parser::CSVParseOrchestrator< EagerClassify > Class Template Reference

Inherits csv::internals::parser::ICSVParseOrchestrator.

Public Member Functions

 CSVParseOrchestrator (const ParseFlagMap &parse_flags, const WhitespaceMap &ws_flags, const CSVFormat &format, size_t source_size, const ColNamesPtr &col_names=nullptr, bool enable_speculative_parallel=true, bool source_size_known=true)
 
size_t worker_count () const noexcept override
 
SpeculativeParseDiagnostics diagnostics () const noexcept override
 
size_t read_window_size (size_t chunk_size) const noexcept override
 
bool utf8_bom () const noexcept override
 
void reset_with_initial_state (ParserDFAState state) noexcept override
 
ParserDFAState ending_state () const noexcept override
 
CSVParseWindowResult parse_window (csv::string_view chunk, std::shared_ptr< void > owner, size_t base_offset, size_t serial_chunk_size, bool source_exhausted, RowCollection &output, CSVError &error) override
 

Detailed Description

template<bool EagerClassify = false>
class csv::internals::parser::CSVParseOrchestrator< EagerClassify >

Definition at line 12 of file orchestrator.hpp.

Constructor & Destructor Documentation

◆ CSVParseOrchestrator()

template<bool EagerClassify = false>
csv::internals::parser::CSVParseOrchestrator< EagerClassify >::CSVParseOrchestrator ( const ParseFlagMap &  parse_flags,
const WhitespaceMap &  ws_flags,
const CSVFormat &  format,
size_t  source_size,
const ColNamesPtr &  col_names = nullptr,
bool  enable_speculative_parallel = true,
bool  source_size_known = true 
)
inline

Definition at line 14 of file orchestrator.hpp.

Member Function Documentation

◆ diagnostics()

template<bool EagerClassify = false>
SpeculativeParseDiagnostics csv::internals::parser::CSVParseOrchestrator< EagerClassify >::diagnostics ( ) const
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 76 of file orchestrator.hpp.

◆ ending_state()

template<bool EagerClassify = false>
ParserDFAState csv::internals::parser::CSVParseOrchestrator< EagerClassify >::ending_state ( ) const
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 112 of file orchestrator.hpp.

◆ parse_window()

template<bool EagerClassify = false>
CSVParseWindowResult csv::internals::parser::CSVParseOrchestrator< EagerClassify >::parse_window ( csv::string_view  chunk,
std::shared_ptr< void >  owner,
size_t  base_offset,
size_t  serial_chunk_size,
bool  source_exhausted,
RowCollection &  output,
CSVError &  error 
)
inlineoverridevirtual

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 116 of file orchestrator.hpp.

◆ read_window_size()

template<bool EagerClassify = false>
size_t csv::internals::parser::CSVParseOrchestrator< EagerClassify >::read_window_size ( size_t  chunk_size) const
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 87 of file orchestrator.hpp.

◆ reset_with_initial_state()

template<bool EagerClassify = false>
void csv::internals::parser::CSVParseOrchestrator< EagerClassify >::reset_with_initial_state ( ParserDFAState  state)
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 108 of file orchestrator.hpp.

◆ utf8_bom()

template<bool EagerClassify = false>
bool csv::internals::parser::CSVParseOrchestrator< EagerClassify >::utf8_bom ( ) const
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 104 of file orchestrator.hpp.

◆ worker_count()

template<bool EagerClassify = false>
size_t csv::internals::parser::CSVParseOrchestrator< EagerClassify >::worker_count ( ) const
inlineoverridevirtualnoexcept

Implements csv::internals::parser::ICSVParseOrchestrator.

Definition at line 68 of file orchestrator.hpp.


The documentation for this class was generated from the following file: