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::UnionByReaderTask Class Reference
Inheritance diagram for duckdb::UnionByReaderTask:
Collaboration diagram for duckdb::UnionByReaderTask:

Public Member Functions

 UnionByReaderTask (TaskExecutor &executor, ClientContext &context, const OpenFileInfo &file, idx_t file_idx, vector< shared_ptr< BaseUnionData > > &readers, BaseFileReaderOptions &options, MultiFileOptions &file_options, MultiFileReader &multi_file_reader, MultiFileReaderInterface &interface)
void ExecuteTask () override
string TaskType () const override
Public Member Functions inherited from duckdb::BaseExecutorTask
 BaseExecutorTask (TaskExecutor &executor)
TaskExecutionResult Execute (TaskExecutionMode mode) override
Public Member Functions inherited from duckdb::Task
virtual void Deschedule ()
virtual void Reschedule ()
 Ensures a task is rescheduled to the correct queue.
virtual bool TaskBlockedOnResult () const
Public Member Functions inherited from duckdb::enable_shared_from_this< Task >
shared_ptr< Task > shared_from_this ()

Private Attributes

ClientContext & context
const OpenFileInfo & file
idx_t file_idx
vector< shared_ptr< BaseUnionData > > & readers
BaseFileReaderOptions & options
MultiFileOptions & file_options
MultiFileReader & multi_file_reader
MultiFileReaderInterface & interface

Additional Inherited Members

Public Attributes inherited from duckdb::Task
optional_ptr< ProducerToken > token
Protected Member Functions inherited from duckdb::enable_shared_from_this< Task >
enable_shared_from_this & operator= (enable_shared_from_this const &) noexcept
Protected Attributes inherited from duckdb::BaseExecutorTask
TaskExecutor & executor

Constructor & Destructor Documentation

◆ UnionByReaderTask()

duckdb::UnionByReaderTask::UnionByReaderTask ( TaskExecutor & executor,
ClientContext & context,
const OpenFileInfo & file,
idx_t file_idx,
vector< shared_ptr< BaseUnionData > > & readers,
BaseFileReaderOptions & options,
MultiFileOptions & file_options,
MultiFileReader & multi_file_reader,
MultiFileReaderInterface & interface )
inline
85036 : BaseExecutorTask(executor), context(context), file(file), file_idx(file_idx), readers(readers),
85037 options(options), file_options(file_options), multi_file_reader(multi_file_reader), interface(interface) {
85038 }

Member Function Documentation

◆ ExecuteTask()

void duckdb::UnionByReaderTask::ExecuteTask ( )
inlineoverridevirtual

Implements duckdb::BaseExecutorTask.

85040 {
85041 auto reader = multi_file_reader.CreateReader(context, file, options, file_options, interface);
85042 readers[file_idx] = reader->GetUnionData(file_idx);
85043 }

◆ TaskType()

string duckdb::UnionByReaderTask::TaskType ( ) const
inlineoverridevirtual

Reimplemented from duckdb::Task.

85045 {
85046 return "UnionByReaderTask";
85047 }

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