![]() |
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.
|
Represents a scan of a base table. More...


Public Member Functions | |
| PhysicalTableScan (PhysicalPlan &physical_plan, vector< LogicalType > types, TableFunction function, unique_ptr< FunctionData > bind_data, vector< LogicalType > returned_types, vector< ColumnIndex > column_ids, vector< idx_t > projection_ids, vector< string > names, unique_ptr< TableFilterSet > table_filters, idx_t estimated_cardinality, ExtraOperatorInfo extra_info, vector< Value > parameters, virtual_column_map_t virtual_columns) | |
| Table scan that immediately projects out filter columns that are unused in the remainder of the query plan. | |
| string | GetName () const override |
| InsertionOrderPreservingMap< string > | ParamsToString () const override |
| bool | Equals (const PhysicalOperator &other) const override |
| OrderPreservationType | SourceOrder () const override |
| The type of order emitted by the operator (as a source). | |
| unique_ptr< LocalSourceState > | GetLocalSourceState (ExecutionContext &context, GlobalSourceState &gstate) const override |
| unique_ptr< GlobalSourceState > | GetGlobalSourceState (ClientContext &context) const override |
| SourceResultType | GetDataInternal (ExecutionContext &context, DataChunk &chunk, OperatorSourceInput &input) const override |
| OperatorPartitionData | GetPartitionData (ExecutionContext &context, DataChunk &chunk, GlobalSourceState &gstate, LocalSourceState &lstate, const OperatorPartitionInfo &partition_info) const override |
| bool | IsSource () const override |
| bool | ParallelSource () const override |
| bool | SupportsPartitioning (const OperatorPartitionInfo &partition_info) const override |
| ProgressData | GetProgress (ClientContext &context, GlobalSourceState &gstate) const override |
| Returns the current progress percentage, or a negative value if progress bars are not supported. | |
| InsertionOrderPreservingMap< string > | ExtraSourceParams (GlobalSourceState &gstate, LocalSourceState &lstate) const override |
| optional_idx | GetRowsScanned (GlobalSourceState &gstate_p, LocalSourceState &lstate) const |
| Public Member Functions inherited from duckdb::PhysicalOperator | |
| PhysicalOperator (PhysicalPlan &physical_plan, PhysicalOperatorType type, vector< LogicalType > types, idx_t estimated_cardinality) | |
| PhysicalOperator (const PhysicalOperator &other)=delete | |
| Deleted copy constructors. | |
| PhysicalOperator & | operator= (const PhysicalOperator &)=delete |
| virtual string | ToString (ExplainFormat format=ExplainFormat::DEFAULT) const |
| void | Print () const |
| virtual vector< const_reference< PhysicalOperator > > | GetChildren () const |
| const vector< LogicalType > & | GetTypes () const |
| Return a vector of the types that will be returned by this operator. | |
| idx_t | EstimatedThreadCount () const |
| Functions to help decide how to set up pipeline dependencies. | |
| bool | CanSaturateThreads (ClientContext &context) const |
| virtual void | Verify () |
| virtual unique_ptr< OperatorState > | GetOperatorState (ExecutionContext &context) const |
| virtual unique_ptr< GlobalOperatorState > | GetGlobalOperatorState (ClientContext &context) const |
| virtual OperatorResultType | Execute (ExecutionContext &context, DataChunk &input, DataChunk &chunk, GlobalOperatorState &gstate, OperatorState &state) const |
| virtual OperatorFinalizeResultType | FinalExecute (ExecutionContext &context, DataChunk &chunk, GlobalOperatorState &gstate, OperatorState &state) const |
| virtual OperatorFinalResultType | OperatorFinalize (Pipeline &pipeline, Event &event, ClientContext &context, OperatorFinalizeInput &input) const |
| virtual bool | ParallelOperator () const |
| virtual bool | RequiresFinalExecute () const |
| virtual bool | RequiresOperatorFinalize () const |
| virtual OrderPreservationType | OperatorOrder () const |
| The influence the operator has on order (insertion order means no influence). | |
| SourceResultType | GetData (ExecutionContext &context, DataChunk &chunk, OperatorSourceInput &input) const |
| virtual ProgressData | GetSinkProgress (ClientContext &context, GlobalSinkState &gstate, const ProgressData source_progress) const |
| Returns the current progress percentage, or a negative value if progress bars are not supported. | |
| virtual SinkResultType | Sink (ExecutionContext &context, DataChunk &chunk, OperatorSinkInput &input) const |
| virtual SinkCombineResultType | Combine (ExecutionContext &context, OperatorSinkCombineInput &input) const |
| virtual void | PrepareFinalize (ClientContext &context, GlobalSinkState &sink_state) const |
| virtual SinkFinalizeType | Finalize (Pipeline &pipeline, Event &event, ClientContext &context, OperatorSinkFinalizeInput &input) const |
| virtual SinkNextBatchType | NextBatch (ExecutionContext &context, OperatorSinkNextBatchInput &input) const |
| virtual unique_ptr< LocalSinkState > | GetLocalSinkState (ExecutionContext &context) const |
| virtual unique_ptr< GlobalSinkState > | GetGlobalSinkState (ClientContext &context) const |
| virtual bool | IsSink () const |
| virtual bool | ParallelSink () const |
| virtual OperatorPartitionInfo | RequiredPartitionInfo () const |
| virtual bool | SinkOrderDependent () const |
| virtual vector< const_reference< PhysicalOperator > > | GetSources () const |
| bool | AllSourcesSupportBatchIndex () const |
| virtual void | BuildPipelines (Pipeline ¤t, MetaPipeline &meta_pipeline) |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Public Attributes | |
| TableFunction | function |
| The table function. | |
| unique_ptr< FunctionData > | bind_data |
| Bind data of the function. | |
| vector< LogicalType > | returned_types |
| The types of ALL columns that can be returned by the table function. | |
| vector< ColumnIndex > | column_ids |
| The column ids used within the table function. | |
| vector< idx_t > | projection_ids |
| The projected-out column ids. | |
| vector< string > | names |
| The names of the columns. | |
| unique_ptr< TableFilterSet > | table_filters |
| The table filters. | |
| ExtraOperatorInfo | extra_info |
| vector< Value > | parameters |
| Parameters. | |
| shared_ptr< DynamicTableFilterSet > | dynamic_filters |
| Contains a reference to dynamically generated table filters (through e.g. a join up in the tree). | |
| virtual_column_map_t | virtual_columns |
| Virtual columns. | |
| Public Attributes inherited from duckdb::PhysicalOperator | |
| ArenaLinkedList< reference< PhysicalOperator > > | children |
| The child operators. | |
| PhysicalOperatorType | type |
| The physical operator type. | |
| vector< LogicalType > | types |
| The return types. | |
| idx_t | estimated_cardinality |
| The estimated cardinality. | |
| unique_ptr< GlobalSinkState > | sink_state |
| The global sink state. | |
| unique_ptr< GlobalOperatorState > | op_state |
| The global operator state. | |
| mutex | lock |
| Lock for (re)setting any of the operator states. | |
Static Public Attributes | |
| static constexpr const PhysicalOperatorType | TYPE = PhysicalOperatorType::TABLE_SCAN |
| Static Public Attributes inherited from duckdb::PhysicalOperator | |
| static constexpr const PhysicalOperatorType | TYPE = PhysicalOperatorType::INVALID |
Additional Inherited Members | |
| Static Public Member Functions inherited from duckdb::PhysicalOperator | |
| static void | SetEstimatedCardinality (InsertionOrderPreservingMap< string > &result, idx_t estimated_cardinality) |
| static idx_t | GetMaxThreadMemory (ClientContext &context) |
| The maximum amount of memory the operator should use per thread. | |
| static OperatorCachingMode | SelectOperatorCachingMode (ExecutionContext &context) |
| Whether operator caching is allowed in the current execution context. | |
Represents a scan of a base table.
| duckdb::PhysicalTableScan::PhysicalTableScan | ( | PhysicalPlan & | physical_plan, |
| vector< LogicalType > | types, | ||
| TableFunction | function, | ||
| unique_ptr< FunctionData > | bind_data, | ||
| vector< LogicalType > | returned_types, | ||
| vector< ColumnIndex > | column_ids, | ||
| vector< idx_t > | projection_ids, | ||
| vector< string > | names, | ||
| unique_ptr< TableFilterSet > | table_filters, | ||
| idx_t | estimated_cardinality, | ||
| ExtraOperatorInfo | extra_info, | ||
| vector< Value > | parameters, | ||
| virtual_column_map_t | virtual_columns ) |
Table scan that immediately projects out filter columns that are unused in the remainder of the query plan.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
inlineoverridevirtual |
The type of order emitted by the operator (as a source).
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
inlineoverridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Returns the current progress percentage, or a negative value if progress bars are not supported.
Reimplemented from duckdb::PhysicalOperator.
|
overridevirtual |
Reimplemented from duckdb::PhysicalOperator.
| optional_idx duckdb::PhysicalTableScan::GetRowsScanned | ( | GlobalSourceState & | gstate_p, |
| LocalSourceState & | lstate ) const |
| ExtraOperatorInfo duckdb::PhysicalTableScan::extra_info |
Currently stores info related to filters pushed down into MultiFileLists and sample rate pushed down into the table scan