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

Public Member Functions

 CheckpointTask (CollectionCheckpointState &checkpoint_state, idx_t index)
void ExecuteTask () override
string TaskType () const override
Public Member Functions inherited from duckdb::BaseCheckpointTask
 BaseCheckpointTask (CollectionCheckpointState &checkpoint_state)
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

idx_t index

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::BaseCheckpointTask
CollectionCheckpointState & checkpoint_state
Protected Attributes inherited from duckdb::BaseExecutorTask
TaskExecutor & executor

Constructor & Destructor Documentation

◆ CheckpointTask()

duckdb::CheckpointTask::CheckpointTask ( CollectionCheckpointState & checkpoint_state,
idx_t index )
inline
435616 : BaseCheckpointTask(checkpoint_state), index(index) {
435617 }

Member Function Documentation

◆ ExecuteTask()

void duckdb::CheckpointTask::ExecuteTask ( )
inlineoverridevirtual

Implements duckdb::BaseExecutorTask.

435619 {
435620 auto entry = checkpoint_state.GetSegment(index);
435621 auto &row_group = entry->GetNode();
435622 checkpoint_state.writers[index] = checkpoint_state.writer.GetRowGroupWriter(row_group);
435623 checkpoint_state.write_data[index] = row_group.WriteToDisk(*checkpoint_state.writers[index]);
435624 }

◆ TaskType()

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

Reimplemented from duckdb::Task.

435626 {
435627 return "CheckpointTask";
435628 }

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