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

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "strftime"
static constexpr const char * Parameters = "data,format"
static constexpr const char * Description = "Converts a `date` to a string according to the format string."
static constexpr const char * Example = "strftime(date '1992-01-01', '%a, %-d %B %Y')"
static constexpr const char * Categories = ""

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::StrfTimeFun::GetFunctions ( )
static
226089 {
226090 ScalarFunctionSet strftime("strftime");
226091
226092 strftime.AddFunction(ScalarFunction({LogicalType::DATE, LogicalType::VARCHAR}, LogicalType::VARCHAR,
226093 StrfTimeFunctionDate<false>, StrfTimeBindFunction<false>));
226094 strftime.AddFunction(ScalarFunction({LogicalType::TIMESTAMP, LogicalType::VARCHAR}, LogicalType::VARCHAR,
226095 StrfTimeFunctionTimestamp<false>, StrfTimeBindFunction<false>));
226096 strftime.AddFunction(ScalarFunction({LogicalType::TIMESTAMP_NS, LogicalType::VARCHAR}, LogicalType::VARCHAR,
226097 StrfTimeFunctionTimestampNS<false>, StrfTimeBindFunction<false>));
226098 strftime.AddFunction(ScalarFunction({LogicalType::VARCHAR, LogicalType::DATE}, LogicalType::VARCHAR,
226099 StrfTimeFunctionDate<true>, StrfTimeBindFunction<true>));
226100 strftime.AddFunction(ScalarFunction({LogicalType::VARCHAR, LogicalType::TIMESTAMP}, LogicalType::VARCHAR,
226101 StrfTimeFunctionTimestamp<true>, StrfTimeBindFunction<true>));
226102 strftime.AddFunction(ScalarFunction({LogicalType::VARCHAR, LogicalType::TIMESTAMP_NS}, LogicalType::VARCHAR,
226103 StrfTimeFunctionTimestampNS<true>, StrfTimeBindFunction<true>));
226104 return strftime;
226105}

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