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::TableScanGlobalState Class Referenceabstract
Inheritance diagram for duckdb::TableScanGlobalState:
Collaboration diagram for duckdb::TableScanGlobalState:

Public Member Functions

 TableScanGlobalState (ClientContext &context, const FunctionData *bind_data_p)
virtual unique_ptr< LocalTableFunctionState > InitLocalState (ExecutionContext &context, TableFunctionInitInput &input)=0
virtual void TableScanFunc (ClientContext &context, TableFunctionInput &data_p, DataChunk &output)=0
virtual double TableScanProgress (ClientContext &context, const FunctionData *bind_data_p) const =0
virtual OperatorPartitionData TableScanGetPartitionData (ClientContext &context, TableFunctionGetPartitionInput &input)=0
virtual idx_t TableScanRowsScanned (LocalTableFunctionState &state)=0
idx_t MaxThreads () const override
bool CanRemoveFilterColumns () const
Public Member Functions inherited from duckdb::GlobalTableFunctionState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

idx_t max_threads
 The maximum number of threads for this table scan.
vector< idx_t > projection_ids
 The projected columns of this table scan.
vector< LogicalType > scanned_types
 The types of all scanned columns.

Additional Inherited Members

Static Public Attributes inherited from duckdb::GlobalTableFunctionState
static constexpr const int64_t MAX_THREADS = 999999999

Constructor & Destructor Documentation

◆ TableScanGlobalState()

duckdb::TableScanGlobalState::TableScanGlobalState ( ClientContext & context,
const FunctionData * bind_data_p )
inline
251187 {
251188 D_ASSERT(bind_data_p);
251189 auto &bind_data = bind_data_p->Cast<TableScanBindData>();
251190 auto &duck_table = bind_data.table.Cast<DuckTableEntry>();
251191 max_threads = duck_table.GetStorage().MaxThreads(context);
251192 }
idx_t max_threads
The maximum number of threads for this table scan.
Definition duckdb.cpp:251195

Member Function Documentation

◆ MaxThreads()

idx_t duckdb::TableScanGlobalState::MaxThreads ( ) const
inlineoverridevirtual

Reimplemented from duckdb::GlobalTableFunctionState.

251210 {
251211 return max_threads;
251212 }

◆ CanRemoveFilterColumns()

bool duckdb::TableScanGlobalState::CanRemoveFilterColumns ( ) const
inline
251213 {
251214 return !projection_ids.empty();
251215 }
vector< idx_t > projection_ids
The projected columns of this table scan.
Definition duckdb.cpp:251197

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