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::BoundMergeIntoAction Class Reference
Collaboration diagram for duckdb::BoundMergeIntoAction:

Public Member Functions

void Serialize (Serializer &serializer) const

Static Public Member Functions

static unique_ptr< BoundMergeIntoAction > Deserialize (Deserializer &deserializer)

Public Attributes

MergeActionType action_type
 The merge action type.
unique_ptr< Expression > condition
 Condition - or NULL if this should always be performed for the given action.
vector< PhysicalIndex > columns
 The set of referenced physical columns (for UPDATE).
vector< unique_ptr< Expression > > expressions
 Set of expressions for INSERT or UPDATE.
physical_index_vector_t< idx_t > column_index_map
 Column index map (for INSERT).
bool update_is_del_and_insert = false
 Whether or not an UPDATE is a DELETE + INSERT.

Member Function Documentation

◆ Serialize()

void duckdb::BoundMergeIntoAction::Serialize ( Serializer & serializer) const
416469 {
416470 serializer.WriteProperty<MergeActionType>(200, "action_type", action_type);
416471 serializer.WritePropertyWithDefault<unique_ptr<Expression>>(201, "condition", condition);
416472 serializer.WritePropertyWithDefault<vector<PhysicalIndex>>(202, "columns", columns);
416473 serializer.WritePropertyWithDefault<vector<unique_ptr<Expression>>>(203, "expressions", expressions);
416474 serializer.WriteProperty<IndexVector<idx_t, PhysicalIndex>>(204, "column_index_map", column_index_map);
416475 serializer.WritePropertyWithDefault<bool>(205, "update_is_del_and_insert", update_is_del_and_insert);
416476}
bool update_is_del_and_insert
Whether or not an UPDATE is a DELETE + INSERT.
Definition duckdb.cpp:205107
vector< PhysicalIndex > columns
The set of referenced physical columns (for UPDATE).
Definition duckdb.cpp:205101
vector< unique_ptr< Expression > > expressions
Set of expressions for INSERT or UPDATE.
Definition duckdb.cpp:205103
unique_ptr< Expression > condition
Condition - or NULL if this should always be performed for the given action.
Definition duckdb.cpp:205099
MergeActionType action_type
The merge action type.
Definition duckdb.cpp:205097
physical_index_vector_t< idx_t > column_index_map
Column index map (for INSERT).
Definition duckdb.cpp:205105

◆ Deserialize()

unique_ptr< BoundMergeIntoAction > duckdb::BoundMergeIntoAction::Deserialize ( Deserializer & deserializer)
static
416478 {
416479 auto result = duckdb::unique_ptr<BoundMergeIntoAction>(new BoundMergeIntoAction());
416480 deserializer.ReadProperty<MergeActionType>(200, "action_type", result->action_type);
416481 deserializer.ReadPropertyWithDefault<unique_ptr<Expression>>(201, "condition", result->condition);
416482 deserializer.ReadPropertyWithDefault<vector<PhysicalIndex>>(202, "columns", result->columns);
416483 deserializer.ReadPropertyWithDefault<vector<unique_ptr<Expression>>>(203, "expressions", result->expressions);
416484 deserializer.ReadProperty<IndexVector<idx_t, PhysicalIndex>>(204, "column_index_map", result->column_index_map);
416485 deserializer.ReadPropertyWithDefault<bool>(205, "update_is_del_and_insert", result->update_is_del_and_insert);
416486 return result;
416487}

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