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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "list_resize"
static constexpr const char * Parameters = "list,size[,value]"
static constexpr const char * Description = "Resizes the `list` to contain `size` elements. Initializes new elements with `value` or `NULL` if `value` is not set."
static constexpr const char * Example = "list_resize([1, 2, 3], 5, 0)"
static constexpr const char * Categories = "list"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::ListResizeFun::GetFunctions ( )
static
227311 {
227312 ScalarFunction simple_fun({LogicalType::LIST(LogicalTypeId::ANY), LogicalTypeId::ANY},
227313 LogicalType::LIST(LogicalTypeId::ANY), ListResizeFunction, ListResizeBind);
227314 simple_fun.SetNullHandling(FunctionNullHandling::SPECIAL_HANDLING);
227315 simple_fun.SetFallible();
227316 ScalarFunction default_value_fun({LogicalType::LIST(LogicalTypeId::ANY), LogicalTypeId::ANY, LogicalTypeId::ANY},
227317 LogicalType::LIST(LogicalTypeId::ANY), ListResizeFunction, ListResizeBind);
227318 default_value_fun.SetNullHandling(FunctionNullHandling::SPECIAL_HANDLING);
227319 default_value_fun.SetFallible();
227320 ScalarFunctionSet list_resize_set("list_resize");
227321 list_resize_set.AddFunction(simple_fun);
227322 list_resize_set.AddFunction(default_value_fun);
227323 return list_resize_set;
227324}

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