![]() |
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.
|
LogicalGet represents a scan operation from a data source. More...


Public Member Functions | |
| LogicalGet (idx_t table_index, TableFunction function, unique_ptr< FunctionData > bind_data, vector< LogicalType > returned_types, vector< string > returned_names, virtual_column_map_t virtual_columns=virtual_column_map_t()) | |
| string | GetName () const override |
| InsertionOrderPreservingMap< string > | ParamsToString () const override |
| optional_ptr< TableCatalogEntry > | GetTable () const |
| Returns the underlying table that is being scanned, or nullptr if there is none. | |
| column_t | GetAnyColumn () const |
| const LogicalType & | GetColumnType (const ColumnIndex &column_index) const |
| const string & | GetColumnName (const ColumnIndex &column_index) const |
| void | SetColumnIds (vector< ColumnIndex > &&column_ids) |
| void | AddColumnId (column_t column_id) |
| void | ClearColumnIds () |
| const vector< ColumnIndex > & | GetColumnIds () const |
| vector< ColumnIndex > & | GetMutableColumnIds () |
| vector< ColumnBinding > | GetColumnBindings () override |
| idx_t | EstimateCardinality (ClientContext &context) override |
| bool | TryGetStorageIndex (const ColumnIndex &column_index, StorageIndex &out_index) const |
| void | SetScanOrder (unique_ptr< RowGroupOrderOptions > options) |
| vector< idx_t > | GetTableIndex () const override |
| Returns the set of table indexes of this operator. | |
| bool | SupportSerialization () const override |
| Skips the serialization check in VerifyPlan. | |
| 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 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 | 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 | |
| idx_t | table_index |
| The table index in the current bind context. | |
| TableFunction | function |
| The function that is called. | |
| unique_ptr< FunctionData > | bind_data |
| The bind data of the function. | |
| vector< LogicalType > | returned_types |
| The types of ALL columns that can be returned by the table function. | |
| vector< string > | names |
| The names of ALL columns that can be returned by the table function. | |
| virtual_column_map_t | virtual_columns |
| A mapping of column index -> type/name for all virtual columns. | |
| vector< idx_t > | projection_ids |
| Columns that are used outside the scan. | |
| TableFilterSet | table_filters |
| Filters pushed down for table scan. | |
| vector< Value > | parameters |
| The set of input parameters for the table function. | |
| named_parameter_map_t | named_parameters |
| The set of named input parameters for the table function. | |
| vector< LogicalType > | input_table_types |
| The set of named input table types for the table-in table-out function. | |
| vector< string > | input_table_names |
| The set of named input table names for the table-in table-out function. | |
| vector< column_t > | projected_input |
| For a table-in-out function, the set of projected input columns. | |
| ExtraOperatorInfo | extra_info |
| shared_ptr< DynamicTableFilterSet > | dynamic_filters |
| Contains a reference to dynamically generated table filters (through e.g. a join up in the tree) | |
| optional_idx | ordinality_idx |
| Information for WITH ORDINALITY. | |
| unique_ptr< RowGroupOrderOptions > | row_group_order_options |
| Row group order options (if set) | |
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_GET |
Protected Member Functions | |
| void | ResolveTypes () override |
| Resolve types for this specific operator. | |
Private Attributes | |
| vector< ColumnIndex > | column_ids |
| Bound column IDs. | |
LogicalGet represents a scan operation from a data source.
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
| column_t duckdb::LogicalGet::GetAnyColumn | ( | ) | const |
Returns any column to query - preferably the cheapest column This is used when we are running e.g. a COUNT(*) and don't care about the contents of any columns in the table
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
Returns the set of table indexes of this operator.
Reimplemented from duckdb::LogicalOperator.
|
inlineoverridevirtual |
Skips the serialization check in VerifyPlan.
Reimplemented from duckdb::LogicalOperator.
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
|
overrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
| ExtraOperatorInfo duckdb::LogicalGet::extra_info |
Currently stores File Filters (as strings) applied by hive partitioning/complex filter pushdown and sample rate pushed down into the table scan Stored so the can be included in explain output