![]() |
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.
|
The FunctionBinder class is responsible for binding functions. More...

Public Member Functions | |
| DUCKDB_API | FunctionBinder (Binder &binder) |
| DUCKDB_API | FunctionBinder (ClientContext &context) |
| DUCKDB_API optional_idx | BindFunction (const string &name, ScalarFunctionSet &functions, const vector< LogicalType > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, ScalarFunctionSet &functions, vector< unique_ptr< Expression > > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, AggregateFunctionSet &functions, const vector< LogicalType > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, AggregateFunctionSet &functions, vector< unique_ptr< Expression > > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, TableFunctionSet &functions, const vector< LogicalType > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, TableFunctionSet &functions, vector< unique_ptr< Expression > > &arguments, ErrorData &error) |
| DUCKDB_API optional_idx | BindFunction (const string &name, PragmaFunctionSet &functions, vector< Value > ¶meters, ErrorData &error) |
| Bind a pragma function from the set of functions and input arguments. | |
| DUCKDB_API unique_ptr< Expression > | BindScalarFunction (const string &schema, const string &name, vector< unique_ptr< Expression > > children, ErrorData &error, bool is_operator=false, optional_ptr< Binder > binder=nullptr) |
| DUCKDB_API unique_ptr< Expression > | BindScalarFunction (ScalarFunctionCatalogEntry &function, vector< unique_ptr< Expression > > children, ErrorData &error, bool is_operator=false, optional_ptr< Binder > binder=nullptr) |
| DUCKDB_API unique_ptr< Expression > | BindScalarFunction (ScalarFunction bound_function, vector< unique_ptr< Expression > > children, bool is_operator=false, optional_ptr< Binder > binder=nullptr) |
| DUCKDB_API unique_ptr< BoundAggregateExpression > | BindAggregateFunction (AggregateFunction bound_function, vector< unique_ptr< Expression > > children, unique_ptr< Expression > filter=nullptr, AggregateType aggr_type=AggregateType::NON_DISTINCT) |
| void | CastToFunctionArguments (SimpleFunction &function, vector< unique_ptr< Expression > > &children) |
| Cast a set of expressions to the arguments of this function. | |
| void | ResolveTemplateTypes (BaseScalarFunction &bound_function, const vector< unique_ptr< Expression > > &children) |
| void | CheckTemplateTypesResolved (const BaseScalarFunction &bound_function) |
Static Public Member Functions | |
| static DUCKDB_API void | BindSortedAggregate (ClientContext &context, BoundAggregateExpression &expr, const vector< unique_ptr< Expression > > &groups, optional_ptr< vector< GroupingSet > > grouping_sets) |
| static DUCKDB_API void | BindSortedAggregate (ClientContext &context, BoundWindowExpression &expr) |
Public Attributes | |
| optional_ptr< Binder > | binder |
| ClientContext & | context |
Private Member Functions | |
| optional_idx | BindVarArgsFunctionCost (const SimpleFunction &func, const vector< LogicalType > &arguments) |
| optional_idx | BindFunctionCost (const SimpleFunction &func, const vector< LogicalType > &arguments) |
| template<class T> | |
| vector< idx_t > | BindFunctionsFromArguments (const string &name, FunctionSet< T > &functions, const vector< LogicalType > &arguments, ErrorData &error) |
| template<class T> | |
| optional_idx | MultipleCandidateException (const string &catalog_name, const string &schema_name, const string &name, FunctionSet< T > &functions, vector< idx_t > &candidate_functions, const vector< LogicalType > &arguments, ErrorData &error) |
| template<class T> | |
| optional_idx | BindFunctionFromArguments (const string &name, FunctionSet< T > &functions, const vector< LogicalType > &arguments, ErrorData &error) |
| vector< LogicalType > | GetLogicalTypesFromExpressions (vector< unique_ptr< Expression > > &arguments) |
The FunctionBinder class is responsible for binding functions.
|
explicit |
|
explicit |
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| ScalarFunctionSet & | functions, | ||
| const vector< LogicalType > & | arguments, | ||
| ErrorData & | error ) |
Bind a scalar function from the set of functions and input arguments. Returns the index of the chosen function, returns optional_idx() and sets error if none could be found

| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| ScalarFunctionSet & | functions, | ||
| vector< unique_ptr< Expression > > & | arguments, | ||
| ErrorData & | error ) |
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| AggregateFunctionSet & | functions, | ||
| const vector< LogicalType > & | arguments, | ||
| ErrorData & | error ) |
Bind an aggregate function from the set of functions and input arguments. Returns the index of the chosen function, returns optional_idx() and sets error if none could be found
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| AggregateFunctionSet & | functions, | ||
| vector< unique_ptr< Expression > > & | arguments, | ||
| ErrorData & | error ) |
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| TableFunctionSet & | functions, | ||
| const vector< LogicalType > & | arguments, | ||
| ErrorData & | error ) |
Bind a table function from the set of functions and input arguments. Returns the index of the chosen function, returns optional_idx() and sets error if none could be found
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| TableFunctionSet & | functions, | ||
| vector< unique_ptr< Expression > > & | arguments, | ||
| ErrorData & | error ) |
| optional_idx duckdb::FunctionBinder::BindFunction | ( | const string & | name, |
| PragmaFunctionSet & | functions, | ||
| vector< Value > & | parameters, | ||
| ErrorData & | error ) |
Bind a pragma function from the set of functions and input arguments.
| unique_ptr< Expression > duckdb::FunctionBinder::BindScalarFunction | ( | const string & | schema, |
| const string & | name, | ||
| vector< unique_ptr< Expression > > | children, | ||
| ErrorData & | error, | ||
| bool | is_operator = false, | ||
| optional_ptr< Binder > | binder = nullptr ) |
| unique_ptr< Expression > duckdb::FunctionBinder::BindScalarFunction | ( | ScalarFunctionCatalogEntry & | function, |
| vector< unique_ptr< Expression > > | children, | ||
| ErrorData & | error, | ||
| bool | is_operator = false, | ||
| optional_ptr< Binder > | binder = nullptr ) |
| unique_ptr< Expression > duckdb::FunctionBinder::BindScalarFunction | ( | ScalarFunction | bound_function, |
| vector< unique_ptr< Expression > > | children, | ||
| bool | is_operator = false, | ||
| optional_ptr< Binder > | binder = nullptr ) |
| unique_ptr< BoundAggregateExpression > duckdb::FunctionBinder::BindAggregateFunction | ( | AggregateFunction | bound_function, |
| vector< unique_ptr< Expression > > | children, | ||
| unique_ptr< Expression > | filter = nullptr, | ||
| AggregateType | aggr_type = AggregateType::NON_DISTINCT ) |
|
static |
|
static |
| void duckdb::FunctionBinder::CastToFunctionArguments | ( | SimpleFunction & | function, |
| vector< unique_ptr< Expression > > & | children ) |
Cast a set of expressions to the arguments of this function.

| void duckdb::FunctionBinder::ResolveTemplateTypes | ( | BaseScalarFunction & | bound_function, |
| const vector< unique_ptr< Expression > > & | children ) |
| void duckdb::FunctionBinder::CheckTemplateTypesResolved | ( | const BaseScalarFunction & | bound_function | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |