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::ListLambdaBindData Struct Referencefinal
Inheritance diagram for duckdb::ListLambdaBindData:
Collaboration diagram for duckdb::ListLambdaBindData:

Public Member Functions

 ListLambdaBindData (const LogicalType &return_type, unique_ptr< Expression > lambda_expr, const bool has_index=false, const bool has_initial=false)
unique_ptr< FunctionData > Copy () const override
bool Equals (const FunctionData &other_p) const override
Public Member Functions inherited from duckdb::FunctionData
virtual DUCKDB_API bool SupportStatementCache () const
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const
template<class TARGET>
TARGET & CastNoConst () const

Static Public Member Functions

static void Serialize (Serializer &serializer, const optional_ptr< FunctionData > bind_data_p, const ScalarFunction &function)
 Serializes a lambda function's bind data.
static unique_ptr< FunctionData > Deserialize (Deserializer &deserializer, ScalarFunction &)
 Deserializes a lambda function's bind data.
Static Public Member Functions inherited from duckdb::FunctionData
static DUCKDB_API bool Equals (const FunctionData *left, const FunctionData *right)

Public Attributes

LogicalType return_type
 Return type of the scalar function.
unique_ptr< Expression > lambda_expr
 Lambda expression that the expression executor executes.
bool has_index
 True, if the last parameter in a lambda parameter list represents the index of the current list element.
bool has_initial

Constructor & Destructor Documentation

◆ ListLambdaBindData()

duckdb::ListLambdaBindData::ListLambdaBindData ( const LogicalType & return_type,
unique_ptr< Expression > lambda_expr,
const bool has_index = false,
const bool has_initial = false )
inline
376276 has_initial(has_initial) {};
unique_ptr< Expression > lambda_expr
Lambda expression that the expression executor executes.
Definition duckdb.cpp:376281
LogicalType return_type
Return type of the scalar function.
Definition duckdb.cpp:376279
bool has_index
True, if the last parameter in a lambda parameter list represents the index of the current list eleme...
Definition duckdb.cpp:376283

Member Function Documentation

◆ Copy()

unique_ptr< FunctionData > duckdb::ListLambdaBindData::Copy ( ) const
inlineoverridevirtual

Implements duckdb::FunctionData.

376287 {
376288 auto lambda_expr_copy = lambda_expr ? lambda_expr->Copy() : nullptr;
376289 return make_uniq<ListLambdaBindData>(return_type, std::move(lambda_expr_copy), has_index, has_initial);
376290 }

◆ Equals()

bool duckdb::ListLambdaBindData::Equals ( const FunctionData & other_p) const
inlineoverridevirtual

Implements duckdb::FunctionData.

376292 {
376293 auto &other = other_p.Cast<ListLambdaBindData>();
376294 return Expression::Equals(lambda_expr, other.lambda_expr) && return_type == other.return_type &&
376295 has_index == other.has_index && has_initial == other.has_initial;
376296 }
bool Equals(const BaseExpression &other) const override
Returns true if this expression is equal to another expression.
Definition duckdb.hpp:17762

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