MySQL 8.0.39
Source Code Documentation
|
Functions | |
RowIterator * | CreateIterator (THD *thd, unique_ptr_destroy_only< RowIterator > subquery_iterator, Temp_table_param *temp_table_param, TABLE *table, unique_ptr_destroy_only< RowIterator > table_iterator, JOIN *join, int ref_slice) |
Create an iterator that aggregates the output rows from another iterator into a temporary table and then sets up a (pre-existing) iterator to access the temporary table. More... | |
RowIterator * temptable_aggregate_iterator::CreateIterator | ( | THD * | thd, |
unique_ptr_destroy_only< RowIterator > | subquery_iterator, | ||
Temp_table_param * | temp_table_param, | ||
TABLE * | table, | ||
unique_ptr_destroy_only< RowIterator > | table_iterator, | ||
JOIN * | join, | ||
int | ref_slice | ||
) |
Create an iterator that aggregates the output rows from another iterator into a temporary table and then sets up a (pre-existing) iterator to access the temporary table.
thd | Thread handler. |
subquery_iterator | input to aggregation. |
temp_table_param | temporary table settings. |
table_iterator | Iterator used for scanning the temporary table after materialization. |
table | the temporary table. |
join | the JOIN in which we aggregate. |
ref_slice | the slice to set when accessing temporary table; used if anything upstream wants to evaluate values based on its contents. |