Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::ReadCSVTableFunction Struct Reference

Static Public Member Functions

static TableFunction GetFunction ()
static TableFunction GetAutoFunction ()
static void ReadCSVAddNamedParameters (TableFunction &table_function)
static void RegisterFunction (BuiltinFunctions &set)

Member Function Documentation

◆ GetFunction()

TableFunction duckdb::ReadCSVTableFunction::GetFunction ( )
static
243241 {
243242 MultiFileFunction<CSVMultiFileInfo> read_csv("read_csv");
243243 read_csv.serialize = CSVReaderSerialize;
243244 read_csv.deserialize = CSVReaderDeserialize;
243245 read_csv.type_pushdown = MultiFileFunction<CSVMultiFileInfo>::PushdownType;
243246 ReadCSVAddNamedParameters(read_csv);
243247 return static_cast<TableFunction>(read_csv);
243248}

◆ GetAutoFunction()

TableFunction duckdb::ReadCSVTableFunction::GetAutoFunction ( )
static
243250 {
243251 auto read_csv_auto = ReadCSVTableFunction::GetFunction();
243252 read_csv_auto.name = "read_csv_auto";
243253 return read_csv_auto;
243254}

◆ ReadCSVAddNamedParameters()

void duckdb::ReadCSVTableFunction::ReadCSVAddNamedParameters ( TableFunction & table_function)
static
243155 {
243156 table_function.named_parameters["sep"] = LogicalType::VARCHAR;
243157 table_function.named_parameters["delim"] = LogicalType::VARCHAR;
243158 table_function.named_parameters["quote"] = LogicalType::VARCHAR;
243159 table_function.named_parameters["new_line"] = LogicalType::VARCHAR;
243160 table_function.named_parameters["escape"] = LogicalType::VARCHAR;
243161 table_function.named_parameters["nullstr"] = LogicalType::ANY;
243162 table_function.named_parameters["columns"] = LogicalType::ANY;
243163 table_function.named_parameters["auto_type_candidates"] = LogicalType::ANY;
243164 table_function.named_parameters["header"] = LogicalType::BOOLEAN;
243165 table_function.named_parameters["auto_detect"] = LogicalType::BOOLEAN;
243166 table_function.named_parameters["sample_size"] = LogicalType::BIGINT;
243167 table_function.named_parameters["all_varchar"] = LogicalType::BOOLEAN;
243168 table_function.named_parameters["dateformat"] = LogicalType::VARCHAR;
243169 table_function.named_parameters["timestampformat"] = LogicalType::VARCHAR;
243170 table_function.named_parameters["normalize_names"] = LogicalType::BOOLEAN;
243171 table_function.named_parameters["compression"] = LogicalType::VARCHAR;
243172 table_function.named_parameters["skip"] = LogicalType::BIGINT;
243173 table_function.named_parameters["max_line_size"] = LogicalType::VARCHAR;
243174 table_function.named_parameters["maximum_line_size"] = LogicalType::VARCHAR;
243175 table_function.named_parameters["ignore_errors"] = LogicalType::BOOLEAN;
243176 table_function.named_parameters["store_rejects"] = LogicalType::BOOLEAN;
243177 table_function.named_parameters["rejects_table"] = LogicalType::VARCHAR;
243178 table_function.named_parameters["rejects_scan"] = LogicalType::VARCHAR;
243179 table_function.named_parameters["rejects_limit"] = LogicalType::BIGINT;
243180 table_function.named_parameters["force_not_null"] = LogicalType::LIST(LogicalType::VARCHAR);
243181 table_function.named_parameters["buffer_size"] = LogicalType::UBIGINT;
243182 table_function.named_parameters["decimal_separator"] = LogicalType::VARCHAR;
243183 table_function.named_parameters["parallel"] = LogicalType::BOOLEAN;
243184 table_function.named_parameters["null_padding"] = LogicalType::BOOLEAN;
243185 table_function.named_parameters["allow_quoted_nulls"] = LogicalType::BOOLEAN;
243186 table_function.named_parameters["column_types"] = LogicalType::ANY;
243187 table_function.named_parameters["dtypes"] = LogicalType::ANY;
243188 table_function.named_parameters["types"] = LogicalType::ANY;
243189 table_function.named_parameters["names"] = LogicalType::LIST(LogicalType::VARCHAR);
243190 table_function.named_parameters["column_names"] = LogicalType::LIST(LogicalType::VARCHAR);
243191 table_function.named_parameters["comment"] = LogicalType::VARCHAR;
243192 table_function.named_parameters["encoding"] = LogicalType::VARCHAR;
243193 table_function.named_parameters["strict_mode"] = LogicalType::BOOLEAN;
243194 table_function.named_parameters["thousands"] = LogicalType::VARCHAR;
243195 table_function.named_parameters["files_to_sniff"] = LogicalType::BIGINT;
243196
243197 MultiFileReader::AddParameters(table_function);
243198}
static DUCKDB_API void AddParameters(TableFunction &table_function)
Add the parameters for multi-file readers (e.g. union_by_name, filename) to a table function.
Definition duckdb.cpp:84312

◆ RegisterFunction()

void duckdb::ReadCSVTableFunction::RegisterFunction ( BuiltinFunctions & set)
static
243256 {
243257 set.AddFunction(MultiFileReader::CreateFunctionSet(ReadCSVTableFunction::GetFunction()));
243258 set.AddFunction(MultiFileReader::CreateFunctionSet(ReadCSVTableFunction::GetAutoFunction()));
243259}
static DUCKDB_API TableFunctionSet CreateFunctionSet(TableFunction table_function)
Creates a table function set from a single reader function (including e.g. list parameters,...
Definition duckdb.cpp:84731

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