|
|
| TupleDataLayout () |
| | Creates an empty TupleDataLayout.
|
| |
|
TupleDataLayout | Copy () const |
| | Create a copy of this TupleDataLayout.
|
| |
|
void | Initialize (vector< LogicalType > types_p, Aggregates aggregates_p, TupleDataValidityType validity_type, TupleDataNestednessType nestedness_type=TupleDataNestednessType::TOP_LEVEL_LAYOUT) |
| | Initializes the TupleDataLayout with the specified types and aggregates to an empty TupleDataLayout.
|
| |
|
void | Initialize (vector< LogicalType > types, TupleDataValidityType validity_type, TupleDataNestednessType nestedness_type=TupleDataNestednessType::TOP_LEVEL_LAYOUT) |
| | Initializes the TupleDataLayout with the specified types to an empty TupleDataLayout.
|
| |
|
void | Initialize (Aggregates aggregates_p) |
| | Initializes the TupleDataLayout with the specified aggregates to an empty TupleDataLayout.
|
| |
|
void | Initialize (const vector< BoundOrderByNode > &orders, const LogicalType &type, bool has_payload) |
| | Initializes a TupleDataLayout with the specified ORDER BY to an empty TupleDataLayout.
|
| |
| idx_t | ColumnCount () const |
| | Returns the number of data columns.
|
| |
| const vector< LogicalType > & | GetTypes () const |
| | Returns a list of the column types for this data chunk.
|
| |
| idx_t | AggregateCount () const |
| | Returns the number of aggregates.
|
| |
| Aggregates & | GetAggregates () |
| | Returns a list of the aggregates for this data chunk.
|
| |
| const Aggregates & | GetAggregates () const |
| |
| SortKeyType | GetSortKeyType () const |
| | Gets the sort key type of this layout (if applicable)
|
| |
|
bool | IsSortKeyLayout () const |
| | Returns whether this is a sort key layout (in implementation file to avoid including here)
|
| |
| const TupleDataLayout & | GetStructLayout (idx_t col_idx) const |
| | Returns a map from column id to the struct TupleDataLayout.
|
| |
| idx_t | GetRowWidth () const |
| | Returns the total width required for each row, including padding.
|
| |
| idx_t | GetDataOffset () const |
| | Returns the offset to the start of the data.
|
| |
| idx_t | GetDataWidth () const |
| | Returns the total width required for the data, including padding.
|
| |
| idx_t | GetAggrOffset () const |
| | Returns the offset to the start of the aggregates.
|
| |
| idx_t | GetAggrWidth () const |
| | Returns the total width required for the aggregates, including padding.
|
| |
| idx_t | GetSortWidth () const |
| | Returns the total width required for sorting.
|
| |
| const vector< idx_t > & | GetSortSkippableBytes () const |
| |
| const vector< idx_t > & | GetOffsets () const |
| | Returns the column offsets into each row.
|
| |
| bool | AllConstant () const |
| | Returns whether all columns in this layout are constant size.
|
| |
| const vector< idx_t > & | GetVariableColumns () const |
| |
| idx_t | GetHeapSizeOffset () const |
| | Gets offset to where heap size is stored.
|
| |
| bool | HasDestructor () const |
| | Returns whether any of the aggregates have a destructor.
|
| |
| const vector< idx_t > & | GetAggregateDestructorIndices () const |
| | Returns the indices of the aggregates that have destructors.
|
| |
| bool | AllValid () const |
| | Returns whether none of the columns have NULLs.
|
| |
|
|
vector< LogicalType > | types |
| | The types of the data columns.
|
| |
|
Aggregates | aggregates |
| | The aggregate functions.
|
| |
|
SortKeyType | sort_key_type |
| | The sort key type associated with orders.
|
| |
|
unique_ptr< unordered_map< idx_t, TupleDataLayout > > | struct_layouts |
| | Structs are a recursive TupleDataLayout.
|
| |
|
idx_t | flag_width |
| | The width of the validity header.
|
| |
|
idx_t | data_width |
| | The width of the data portion.
|
| |
|
idx_t | aggr_width |
| | The width of the aggregate state portion.
|
| |
|
idx_t | sort_width |
| | The width of the sort key.
|
| |
|
vector< idx_t > | sort_skippable_bytes |
| | Bytes that are skippable during sorting.
|
| |
|
idx_t | row_width |
| | The width of the entire row.
|
| |
|
vector< idx_t > | offsets |
| | The offsets to the columns and aggregate data in each row.
|
| |
|
bool | all_constant |
| | Whether all columns in this layout are constant size.
|
| |
|
vector< idx_t > | variable_columns |
| | Indices of the variable columns.
|
| |
|
idx_t | heap_size_offset |
| | Offset to the heap size of every row.
|
| |
|
vector< idx_t > | aggr_destructor_idxs |
| | Indices of aggregate functions that have a destructor.
|
| |
|
TupleDataValidityType | validity_type |
| | Whether none of the columns have NULLs.
|
| |