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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "octet_length"
static constexpr const char * Parameters = "blob::BLOB\001bitstring::BIT"
static constexpr const char * Description = "Number of bytes in `blob`.\001Returns the number of bytes in the `bitstring`."
static constexpr const char * Example = "octet_length('\\xAA\\xBB'::BLOB)\001octet_length('1101011'::BITSTRING)"
static constexpr const char * Categories = "blob\001bitstring"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::OctetLengthFun::GetFunctions ( )
static
232912 {
232913 // length for BLOB type
232914 ScalarFunctionSet octet_length("octet_length");
232915 octet_length.AddFunction(ScalarFunction({LogicalType::BLOB}, LogicalType::BIGINT,
232916 ScalarFunction::UnaryFunction<string_t, int64_t, StrLenOperator>));
232917 octet_length.AddFunction(ScalarFunction({LogicalType::BIT}, LogicalType::BIGINT,
232918 ScalarFunction::UnaryFunction<string_t, int64_t, OctetLenOperator>));
232919 return (octet_length);
232920}

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