![]() |
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.
|
RadixPartitionedColumnData is a PartitionedColumnData that partitions input based on the radix of a hash. More...


Protected Member Functions | |
| idx_t | BufferSize () const override |
| Size of the buffers in the append states for this type of partitioning (default 128). | |
| void | InitializeAppendStateInternal (PartitionedColumnDataAppendState &state) const override |
| Initialize a PartitionedColumnDataAppendState for this type of partitioning (optional). | |
| void | ComputePartitionIndices (PartitionedColumnDataAppendState &state, DataChunk &input) override |
| Compute the partition indices for this type of partitioning for the input DataChunk and store them in the partition_data of the local state. If this type creates partitions on the fly (for, e.g., hive), this function is also in charge of creating new partitions and mapping the input data to a partition index. | |
| idx_t | MaxPartitionIndex () const override |
| Maximum partition index (optional). | |
| Protected Member Functions inherited from duckdb::PartitionedColumnData | |
| PartitionedColumnData (PartitionedColumnDataType type, ClientContext &context, vector< LogicalType > types) | |
| PartitionedColumnData can only be instantiated by derived classes. | |
| PartitionedColumnData (const PartitionedColumnData &other) | |
| idx_t | HalfBufferSize () const |
| If the buffer is half full, we append to the partition. | |
| void | CreateAllocator () |
| Create a new shared allocator. | |
| bool | UseFixedSizeMap () const |
| Whether to use fixed size map or regular map. | |
| void | BuildPartitionSel (PartitionedColumnDataAppendState &state, const idx_t append_count) const |
| Builds a selection vector in the Append state for the partitions. | |
| template<bool fixed> | |
| void | AppendInternal (PartitionedColumnDataAppendState &state, DataChunk &input) |
| Appends a DataChunk to this PartitionedColumnData. | |
| unique_ptr< ColumnDataCollection > | CreatePartitionCollection (idx_t partition_index) const |
| Create a collection for a specific a partition. | |
| unique_ptr< DataChunk > | CreatePartitionBuffer () const |
| Create a DataChunk used for buffering appends to the partition. | |
Static Protected Member Functions | |
| static constexpr idx_t | GetBufferSize (idx_t div) |
| Static Protected Member Functions inherited from duckdb::PartitionedColumnData | |
| template<bool fixed> | |
| static void | BuildPartitionSel (PartitionedColumnDataAppendState &state, const idx_t append_count) |
Private Attributes | |
| const idx_t | radix_bits |
| The number of radix bits. | |
| const idx_t | hash_col_idx |
| The index of the column holding the hashes. | |
Additional Inherited Members | |
| Protected Attributes inherited from duckdb::PartitionedColumnData | |
| PartitionedColumnDataType | type |
| ClientContext & | context |
| vector< LogicalType > | types |
| mutex | lock |
| shared_ptr< PartitionColumnDataAllocators > | allocators |
| vector< unique_ptr< ColumnDataCollection > > | partitions |
RadixPartitionedColumnData is a PartitionedColumnData that partitions input based on the radix of a hash.
| duckdb::RadixPartitionedColumnData::RadixPartitionedColumnData | ( | ClientContext & | context, |
| vector< LogicalType > | types, | ||
| idx_t | radix_bits, | ||
| idx_t | hash_col_idx ) |
| duckdb::RadixPartitionedColumnData::RadixPartitionedColumnData | ( | const RadixPartitionedColumnData & | other | ) |
|
override |
|
inline |
|
inlineoverrideprotectedvirtual |
Size of the buffers in the append states for this type of partitioning (default 128).
Reimplemented from duckdb::PartitionedColumnData.
|
overrideprotectedvirtual |
Initialize a PartitionedColumnDataAppendState for this type of partitioning (optional).
Reimplemented from duckdb::PartitionedColumnData.

|
overrideprotectedvirtual |
Compute the partition indices for this type of partitioning for the input DataChunk and store them in the partition_data of the local state. If this type creates partitions on the fly (for, e.g., hive), this function is also in charge of creating new partitions and mapping the input data to a partition index.
Reimplemented from duckdb::PartitionedColumnData.

|
inlineoverrideprotectedvirtual |
Maximum partition index (optional).
Reimplemented from duckdb::PartitionedColumnData.
