◆ SelectionData()
| duckdb::SelectionData::SelectionData |
( |
idx_t | count | ) |
|
|
explicit |
128888 {
128889 owned_data = Allocator::DefaultAllocator().Allocate(MaxValue<idx_t>(count, 1) *
sizeof(
sel_t));
128890#ifdef DEBUG
128891 auto data_ptr =
reinterpret_cast<sel_t *
>(owned_data.get());
128892 for (
idx_t i = 0; i < count; i++) {
128893 data_ptr[i] = std::numeric_limits<sel_t>::max();
128894 }
128895#endif
128896}
uint32_t sel_t
Type used for the selection vector.
Definition duckdb.hpp:251
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
The documentation for this struct was generated from the following files: