![]() |
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.
|
LogicalInsert represents an insertion of data into a base table. More...


Public Member Functions | |
| LogicalInsert (TableCatalogEntry &table, idx_t table_index) | |
| void | Serialize (Serializer &serializer) const override |
| Public Member Functions inherited from duckdb::LogicalOperator | |
| LogicalOperator (LogicalOperatorType type) | |
| LogicalOperator (LogicalOperatorType type, vector< unique_ptr< Expression > > expressions) | |
| virtual idx_t | GetRootIndex () |
| void | PrintColumnBindings () |
| void | ResolveOperatorTypes () |
| Resolve the types of the logical operator and its children. | |
| virtual InsertionOrderPreservingMap< string > | ParamsToString () const |
| virtual string | ToString (ExplainFormat format=ExplainFormat::DEFAULT) const |
| DUCKDB_API void | Print () |
| virtual void | Verify (ClientContext &context) |
| Debug method: verify that the integrity of expressions & child nodes are maintained. | |
| void | AddChild (unique_ptr< LogicalOperator > child) |
| void | SetEstimatedCardinality (idx_t _estimated_cardinality) |
| void | SetParamsEstimatedCardinality (InsertionOrderPreservingMap< string > &result) const |
| virtual unique_ptr< LogicalOperator > | Copy (ClientContext &context) const |
| virtual bool | RequireOptimizer () const |
| virtual bool | SupportSerialization () const |
| Allows LogicalOperators to opt out of serialization. | |
| virtual bool | HasProjectionMap () const |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Static Public Member Functions | |
| static unique_ptr< LogicalOperator > | Deserialize (Deserializer &deserializer) |
| Static Public Member Functions inherited from duckdb::LogicalOperator | |
| static string | ColumnBindingsToString (const vector< ColumnBinding > &bindings) |
| static vector< ColumnBinding > | GenerateColumnBindings (idx_t table_idx, idx_t column_count) |
| static vector< LogicalType > | MapTypes (const vector< LogicalType > &types, const vector< idx_t > &projection_map) |
| static vector< ColumnBinding > | MapBindings (const vector< ColumnBinding > &types, const vector< idx_t > &projection_map) |
| static unique_ptr< LogicalOperator > | Deserialize (Deserializer &deserializer) |
Public Attributes | |
| vector< vector< unique_ptr< Expression > > > | insert_values |
| physical_index_vector_t< idx_t > | column_index_map |
| The insertion map ([table_index -> index in result, or DConstants::INVALID_INDEX if not specified]). | |
| vector< LogicalType > | expected_types |
| The expected types for the INSERT statement (obtained from the column types). | |
| TableCatalogEntry & | table |
| The base table to insert into. | |
| idx_t | table_index |
| bool | return_chunk |
| if returning option is used, return actual chunk to projection | |
| vector< unique_ptr< Expression > > | bound_defaults |
| The default statements used by the table. | |
| vector< unique_ptr< BoundConstraint > > | bound_constraints |
| The constraints used by the table. | |
| BoundOnConflictInfo | on_conflict_info |
| Public Attributes inherited from duckdb::LogicalOperator | |
| LogicalOperatorType | type |
| The type of the logical operator. | |
| vector< unique_ptr< LogicalOperator > > | children |
| The set of children of the operator. | |
| vector< unique_ptr< Expression > > | expressions |
| The set of expressions contained within the operator, if any. | |
| vector< LogicalType > | types |
| The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes. | |
| idx_t | estimated_cardinality |
| Estimated Cardinality. | |
| bool | has_estimated_cardinality |
Static Public Attributes | |
| static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_INSERT |
Protected Member Functions | |
| vector< ColumnBinding > | GetColumnBindings () override |
| void | ResolveTypes () override |
| Resolve types for this specific operator. | |
| idx_t | EstimateCardinality (ClientContext &context) override |
| vector< idx_t > | GetTableIndex () const override |
| Returns the set of table indexes of this operator. | |
| string | GetName () const override |
Private Member Functions | |
| LogicalInsert (ClientContext &context, const unique_ptr< CreateInfo > table_info) | |
LogicalInsert represents an insertion of data into a base table.
| duckdb::LogicalInsert::LogicalInsert | ( | TableCatalogEntry & | table, |
| idx_t | table_index ) |
|
private |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
|
static |
|
overrideprotectedvirtual |
Reimplemented from duckdb::LogicalOperator.
|
overrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
|
overrideprotectedvirtual |
Reimplemented from duckdb::LogicalOperator.
Returns the set of table indexes of this operator.
Reimplemented from duckdb::LogicalOperator.
|
overrideprotectedvirtual |
Reimplemented from duckdb::LogicalOperator.