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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "substring"
static constexpr const char * Parameters = "string,start,length"
static constexpr const char * Description = "Extracts substring starting from character `start` up to the end of the string. If optional argument `length` is set, extracts a substring of `length` characters instead. Note that a `start` value of `1` refers to the first character of the `string`."
static constexpr const char * Example = "substring('Hello', 2)\002substring('Hello', 2, 2)"
static constexpr const char * Categories = "string"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::SubstringFun::GetFunctions ( )
static
235575 {
235576 ScalarFunctionSet substr("substring");
235577 substr.AddFunction(ScalarFunction({LogicalType::VARCHAR, LogicalType::BIGINT, LogicalType::BIGINT},
235578 LogicalType::VARCHAR, SubstringFunction<SubstringUnicodeOp>, nullptr, nullptr,
235579 SubstringPropagateStats));
235580 substr.AddFunction(ScalarFunction({LogicalType::VARCHAR, LogicalType::BIGINT}, LogicalType::VARCHAR,
235581 SubstringFunction<SubstringUnicodeOp>, nullptr, nullptr,
235582 SubstringPropagateStats));
235583 return (substr);
235584}

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