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::MultiFileReaderData Struct Reference

Per-file data for the multi file reader. More...

Collaboration diagram for duckdb::MultiFileReaderData:

Public Member Functions

 MultiFileReaderData (const OpenFileInfo &file_to_be_opened)
 
 MultiFileReaderData (shared_ptr< BaseFileReader > reader_p)
 
 MultiFileReaderData (shared_ptr< BaseUnionData > union_data_p)
 

Public Attributes

shared_ptr< BaseFileReaderreader
 Currently opened reader for the file.
 
weak_ptr< BaseFileReaderclosed_reader
 The file reader after we have started all scans to the file.
 
MultiFileFileState file_state
 Flag to indicate the file is being opened.
 
unique_ptr< mutex > file_mutex
 Mutexes to wait for the file when it is being opened.
 
shared_ptr< BaseUnionDataunion_data
 Options for opening the file.
 
MultiFileConstantMap constant_map
 The constants that should be applied at the various positions.
 
vector< unique_ptr< Expression > > expressions
 The set of expressions that should be evaluated to obtain the final result.
 
OpenFileInfo file_to_be_opened
 (only set when file_state is UNOPENED) the file to be opened
 

Detailed Description

Per-file data for the multi file reader.

Constructor & Destructor Documentation

◆ MultiFileReaderData() [1/3]

duckdb::MultiFileReaderData::MultiFileReaderData ( const OpenFileInfo file_to_be_opened)
inlineexplicit
80533 : reader(nullptr), file_state(MultiFileFileState::UNOPENED), file_mutex(make_uniq<mutex>()),
80535 }
unique_ptr< mutex > file_mutex
Mutexes to wait for the file when it is being opened.
Definition duckdb.cpp:80558
OpenFileInfo file_to_be_opened
(only set when file_state is UNOPENED) the file to be opened
Definition duckdb.cpp:80567
shared_ptr< BaseFileReader > reader
Currently opened reader for the file.
Definition duckdb.cpp:80552
MultiFileFileState file_state
Flag to indicate the file is being opened.
Definition duckdb.cpp:80556

◆ MultiFileReaderData() [2/3]

duckdb::MultiFileReaderData::MultiFileReaderData ( shared_ptr< BaseFileReader reader_p)
inlineexplicit
80538 : reader(std::move(reader_p)), file_state(MultiFileFileState::OPEN), file_mutex(make_uniq<mutex>()) {
80539 }

◆ MultiFileReaderData() [3/3]

duckdb::MultiFileReaderData::MultiFileReaderData ( shared_ptr< BaseUnionData union_data_p)
inlineexplicit
80541 : file_mutex(make_uniq<mutex>()) {
80542 if (union_data_p->reader) {
80543 reader = std::move(union_data_p->reader);
80544 file_state = MultiFileFileState::OPEN;
80545 } else {
80546 union_data = std::move(union_data_p);
80547 file_state = MultiFileFileState::UNOPENED;
80548 }
80549 }
shared_ptr< BaseUnionData > union_data
Options for opening the file.
Definition duckdb.cpp:80560

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