The constructor populates all of our the options that will be used in our sniffer search space.
171631 {
171632
171634 const auto default_comment = GetDefaultComment();
171636
171637 if (options.delimiter.IsSetByUser()) {
171638
171640 } else {
171641
171643 }
171644
171645 if (options.comment.IsSetByUser()) {
171646
171648 } else {
171649
171651 }
171652
171653 if (options.quote.IsSetByUser() && options.escape.IsSetByUser()) {
171654
171656 } else if (options.quote.IsSetByUser()) {
171657
171658 for (auto &candidate : default_quote_escape) {
171659 if (candidate.quote == options.quote.GetValue()) {
171661 }
171662 }
171664
171670 }
171671 } else if (options.escape.IsSetByUser()) {
171672
171673 for (auto &candidate : default_quote_escape) {
171674 if (candidate.escape == options.escape.GetValue()) {
171676 }
171677 }
171679
171683 }
171684 } else {
171685
171687 }
171688}
vector< string > delim_candidates
Candidates for the delimiter.
Definition duckdb.cpp:168110
static vector< QuoteEscapeCombination > GetDefaultQuoteEscapeCombination()
Default Quote/Escape combinations in priority order.
Definition duckdb.cpp:171576
vector< QuoteEscapeCombination > quote_escape_candidates
Candidates for combinations of quotes and escapes.
Definition duckdb.cpp:168114
static vector< string > GetDefaultDelimiter()
Static functions to get defaults of the search space.
Definition duckdb.cpp:171572
vector< char > comment_candidates
Candidates for the comment.
Definition duckdb.cpp:168112