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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "bit_length"
static constexpr const char * Parameters = "string::VARCHAR\001bit::BIT"
static constexpr const char * Description = "Number of bits in a `string`.\001Returns the bit-length of the `bit` argument."
static constexpr const char * Example = "bit_length('abc')\001bit_length(42::TINYINT::BIT)"
static constexpr const char * Categories = "string\001numeric"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::BitLengthFun::GetFunctions ( )
static
232903 {
232904 ScalarFunctionSet bit_length("bit_length");
232905 bit_length.AddFunction(ScalarFunction({LogicalType::VARCHAR}, LogicalType::BIGINT,
232906 ScalarFunction::UnaryFunction<string_t, int64_t, BitLenOperator>));
232907 bit_length.AddFunction(ScalarFunction({LogicalType::BIT}, LogicalType::BIGINT,
232908 ScalarFunction::UnaryFunction<string_t, int64_t, BitStringLenOperator>));
232909 return (bit_length);
232910}

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