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

Public Member Functions

 PrepareBatchTask (idx_t batch_index, unique_ptr< FixedRawBatchData > batch_data_p)
void Execute (const PhysicalBatchCopyToFile &op, ClientContext &context, GlobalSinkState &gstate_p) override

Public Attributes

idx_t batch_index
unique_ptr< FixedRawBatchData > batch_data

Constructor & Destructor Documentation

◆ PrepareBatchTask()

duckdb::PrepareBatchTask::PrepareBatchTask ( idx_t batch_index,
unique_ptr< FixedRawBatchData > batch_data_p )
inline
192364 : batch_index(batch_index), batch_data(std::move(batch_data_p)) {
192365 }

Member Function Documentation

◆ Execute()

void duckdb::PrepareBatchTask::Execute ( const PhysicalBatchCopyToFile & op,
ClientContext & context,
GlobalSinkState & gstate_p )
inlineoverridevirtual

Implements duckdb::BatchCopyTask.

192370 {
192371 auto &gstate = gstate_p.Cast<FixedBatchCopyGlobalState>();
192372 auto memory_usage = batch_data->memory_usage;
192373 auto prepared_batch =
192374 op.function.prepare_batch(context, *op.bind_data, *gstate.global_state, std::move(batch_data->collection));
192375 gstate.AddBatchData(batch_index, std::move(prepared_batch), memory_usage);
192376 if (batch_index == gstate.flushed_batch_index) {
192377 gstate.task_manager.AddTask(make_uniq<RepartitionedFlushTask>());
192378 }
192379 }

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