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::StringSplitRegexFun Struct Reference

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "string_split_regex"
static constexpr const char * Parameters = "string,regex,options"
static constexpr const char * Description = "Splits the `string` along the `regex`. A set of optional regex `options` can be set."
static constexpr const char * Example = "string_split_regex('hello world; 42', ';? ')"
static constexpr const char * Categories = "regex"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::StringSplitRegexFun::GetFunctions ( )
static
235183 {
235184 auto varchar_list_type = LogicalType::LIST(LogicalType::VARCHAR);
235185 ScalarFunctionSet regexp_split;
235186 ScalarFunction regex_fun({LogicalType::VARCHAR, LogicalType::VARCHAR}, varchar_list_type, StringSplitRegexFunction,
235187 RegexpMatchesBind, nullptr, nullptr, RegexInitLocalState, LogicalType::INVALID,
235188 FunctionStability::CONSISTENT, FunctionNullHandling::SPECIAL_HANDLING);
235189 regexp_split.AddFunction(regex_fun);
235190 // regexp options
235191 regex_fun.arguments.emplace_back(LogicalType::VARCHAR);
235192 regexp_split.AddFunction(regex_fun);
235193 return regexp_split;
235194}

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