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::MultiFileGlobalState Struct Reference
Inheritance diagram for duckdb::MultiFileGlobalState:
Collaboration diagram for duckdb::MultiFileGlobalState:

Public Member Functions

 MultiFileGlobalState (MultiFileList &file_list_p)
 
 MultiFileGlobalState (unique_ptr< MultiFileList > owned_file_list_p)
 
idx_t MaxThreads () const override
 
bool CanRemoveColumns () const
 
- Public Member Functions inherited from duckdb::GlobalTableFunctionState
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Public Attributes

MultiFileListfile_list
 The file list to scan.
 
MultiFileListScanData file_list_scan
 The scan over the file_list.
 
unique_ptr< MultiFileListowned_file_list
 Owned multi file list - if filters have been dynamically pushed into the reader.
 
unique_ptr< MultiFileReaderGlobalStatemulti_file_reader_state
 Reader state.
 
mutex lock
 Lock.
 
bool error_opening_file = false
 Signal to other threads that a file failed to open, letting every thread abort.
 
atomic< idx_tfile_index
 Index of file currently up for scanning.
 
idx_t completed_file_index = 0
 Index of the lowest file we know we have completely read.
 
vector< unique_ptr< MultiFileReaderData > > readers
 The current set of readers.
 
idx_t batch_index = 0
 
idx_t max_threads = 1
 
vector< idx_tprojection_ids
 
vector< LogicalTypescanned_types
 
vector< ColumnIndexcolumn_indexes
 
optional_ptr< TableFilterSetfilters
 
atomic< bool > finished {false}
 
unique_ptr< GlobalTableFunctionStateglobal_state
 
optional_ptr< const PhysicalOperatorop
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ MultiFileGlobalState() [1/2]

duckdb::MultiFileGlobalState::MultiFileGlobalState ( MultiFileList file_list_p)
inlineexplicit
80571 : file_list(file_list_p) {
80572 }
MultiFileList & file_list
The file list to scan.
Definition duckdb.cpp:80578

◆ MultiFileGlobalState() [2/2]

duckdb::MultiFileGlobalState::MultiFileGlobalState ( unique_ptr< MultiFileList owned_file_list_p)
inlineexplicit
80574 : file_list(*owned_file_list_p), owned_file_list(std::move(owned_file_list_p)) {
80575 }
unique_ptr< MultiFileList > owned_file_list
Owned multi file list - if filters have been dynamically pushed into the reader.
Definition duckdb.cpp:80582

Member Function Documentation

◆ MaxThreads()

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

Reimplemented from duckdb::GlobalTableFunctionState.

80610 {
80611 return max_threads;
80612 }

◆ CanRemoveColumns()

bool duckdb::MultiFileGlobalState::CanRemoveColumns ( ) const
inline
80614 {
80615 return !projection_ids.empty();
80616 }

Member Data Documentation

◆ finished

atomic<bool> duckdb::MultiFileGlobalState::finished {false}
80604{false};

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