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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "length"
static constexpr const char * Parameters = "string::VARCHAR\001bit::BIT\001list::ANY[]"
static constexpr const char * Description = "Number of characters in `string`.\001Returns the bit-length of the `bit` argument.\001Returns the length of the `list`."
static constexpr const char * Example = "length('Hello🦆')\001length(42::TINYINT::BIT)\001length([1,2,3])"
static constexpr const char * Categories = "string\001numeric\001list"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::LengthFun::GetFunctions ( )
static
232866 {
232867 ScalarFunctionSet length("length");
232868 length.AddFunction(ScalarFunction({LogicalType::VARCHAR}, LogicalType::BIGINT,
232869 ScalarFunction::UnaryFunction<string_t, int64_t, StringLengthOperator>, nullptr,
232870 nullptr, LengthPropagateStats));
232871 length.AddFunction(ScalarFunction({LogicalType::BIT}, LogicalType::BIGINT,
232872 ScalarFunction::UnaryFunction<string_t, int64_t, BitStringLenOperator>));
232873 length.AddFunction(
232874 ScalarFunction({LogicalType::LIST(LogicalType::ANY)}, LogicalType::BIGINT, nullptr, ArrayOrListLengthBind));
232875 return (length);
232876}

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