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

Public Member Functions

 RadixHTLocalSinkState (ClientContext &context, const RadixPartitionedHashTable &radix_ht)
Public Member Functions inherited from duckdb::LocalSinkState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

unique_ptr< GroupedAggregateHashTable > ht
 Thread-local HT that is re-used after abandoning.
DataChunk group_chunk
 Chunk with group columns.
bool adapted
 Whether we have decided to adapt our strategy.
idx_t local_sink_capacity
 Sink capacity for this thread.
unique_ptr< PartitionedTupleData > abandoned_data
 Data that is abandoned ends up here (only if we're doing external aggregation).
Public Attributes inherited from duckdb::LocalSinkState
SourcePartitionInfo partition_info
 Source partition info.

Static Public Attributes

static constexpr idx_t ADAPTIVITY_THRESHOLD = 1048576

Constructor & Destructor Documentation

◆ RadixHTLocalSinkState()

duckdb::RadixHTLocalSinkState::RadixHTLocalSinkState ( ClientContext & context,
const RadixPartitionedHashTable & radix_ht )
207361 // If there are no groups we create a fake group so everything has the same group
207362 group_chunk.InitializeEmpty(radix_ht.group_types);
207363 if (radix_ht.grouping_set.empty()) {
207364 group_chunk.data[0].Reference(Value::TINYINT(42));
207365 }
207366}
bool adapted
Whether we have decided to adapt our strategy.
Definition duckdb.cpp:207351
idx_t local_sink_capacity
Sink capacity for this thread.
Definition duckdb.cpp:207353
DataChunk group_chunk
Chunk with group columns.
Definition duckdb.cpp:207345
static DUCKDB_API Value TINYINT(int8_t value)
Create a tinyint Value from a specified value.
Definition duckdb.cpp:132125
static constexpr const idx_t INVALID_INDEX
The value used to signify an invalid index entry.
Definition duckdb.hpp:1117

Member Data Documentation

◆ ADAPTIVITY_THRESHOLD

idx_t duckdb::RadixHTLocalSinkState::ADAPTIVITY_THRESHOLD = 1048576
staticconstexpr

After seeing this many tuples, we decide whether to adapt our strategy This also serves as the maximum HT sink capacity


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