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

Public Member Functions

 FixedBatchCopyLocalState (unique_ptr< LocalFunctionData > local_state_p)
void InitializeCollection (ClientContext &context, const PhysicalOperator &op)
Public Member Functions inherited from duckdb::LocalSinkState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

unique_ptr< LocalFunctionData > local_state
 Local copy state.
unique_ptr< ColumnDataCollection > collection
 The current collection we are appending to.
ColumnDataAppendState append_state
 The append state of the collection.
idx_t rows_copied
 How many rows have been copied in total.
idx_t local_memory_usage
 Memory usage of the thread-local collection.
optional_idx batch_index
 The current batch index.
FixedBatchCopyState current_task = FixedBatchCopyState::SINKING_DATA
 Current task.
Public Attributes inherited from duckdb::LocalSinkState
SourcePartitionInfo partition_info
 Source partition info.

Constructor & Destructor Documentation

◆ FixedBatchCopyLocalState()

duckdb::FixedBatchCopyLocalState::FixedBatchCopyLocalState ( unique_ptr< LocalFunctionData > local_state_p)
inlineexplicit
192148 : local_state(std::move(local_state_p)), rows_copied(0), local_memory_usage(0) {
192149 }
idx_t rows_copied
How many rows have been copied in total.
Definition duckdb.cpp:192158
unique_ptr< LocalFunctionData > local_state
Local copy state.
Definition duckdb.cpp:192152
idx_t local_memory_usage
Memory usage of the thread-local collection.
Definition duckdb.cpp:192160

Member Function Documentation

◆ InitializeCollection()

void duckdb::FixedBatchCopyLocalState::InitializeCollection ( ClientContext & context,
const PhysicalOperator & op )
inline
192166 {
192167 collection = make_uniq<ColumnDataCollection>(context, op.children[0].get().GetTypes());
192168 collection->SetPartitionIndex(0); // Makes the buffer manager less likely to spill this data
192169 collection->InitializeAppend(append_state);
192170 local_memory_usage = 0;
192171 }
ColumnDataAppendState append_state
The append state of the collection.
Definition duckdb.cpp:192156
unique_ptr< ColumnDataCollection > collection
The current collection we are appending to.
Definition duckdb.cpp:192154

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