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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "list_extract"
static constexpr const char * Parameters = "list,index"
static constexpr const char * Description = "Extract the `index`th (1-based) value from the list."
static constexpr const char * Example = "list_extract([4, 5, 6], 3)"
static constexpr const char * Categories = "list"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::ListExtractFun::GetFunctions ( )
static
226925 {
226926 ScalarFunctionSet list_extract_set("list_extract");
226927
226928 // the arguments and return types are actually set in the binder function
226929 ScalarFunction lfun({LogicalType::LIST(LogicalType::TEMPLATE("T")), LogicalType::BIGINT},
226930 LogicalType::TEMPLATE("T"), ListExtractFunction, ListExtractBind, nullptr, ListExtractStats);
226931
226932 ScalarFunction sfun({LogicalType::VARCHAR, LogicalType::BIGINT}, LogicalType::VARCHAR, ListExtractFunction);
226933 lfun.SetFallible();
226934 sfun.SetFallible();
226935 list_extract_set.AddFunction(lfun);
226936 list_extract_set.AddFunction(sfun);
226937 return list_extract_set;
226938}

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