#include <rowid_ordered_retrieval.h>
|
| RowIDIntersectionIterator (THD *thd, MEM_ROOT *return_mem_root, TABLE *table_arg, bool retrieve_full_rows, bool need_rows_in_rowid_order, Mem_root_array< unique_ptr_destroy_only< RowIterator > > children, unique_ptr_destroy_only< RowIterator > cpk_child) |
|
| ~RowIDIntersectionIterator () override |
|
bool | Init () override |
| Initialize or reinitialize the iterator. More...
|
|
int | Read () override |
| Read a single row. More...
|
|
uchar * | last_rowid () const override |
|
| RowIDCapableRowIterator (THD *thd, TABLE *table) |
|
| TableRowIterator (THD *thd, TABLE *table) |
|
void | UnlockRow () override |
| The default implementation of unlock-row method of RowIterator, used in all access methods except EQRefIterator. More...
|
|
void | SetNullRowFlag (bool is_null_row) override |
| Mark the current row buffer as containing a NULL row or not, so that if you read from it and the flag is true, you'll get only NULLs no matter what is actually in the buffer (typically some old leftover row). More...
|
|
void | StartPSIBatchMode () override |
| Start performance schema batch mode, if supported (otherwise ignored). More...
|
|
void | EndPSIBatchModeIfStarted () override |
| Ends performance schema batch mode, if started. More...
|
|
| RowIterator (THD *thd) |
|
virtual | ~RowIterator ()=default |
|
| RowIterator (const RowIterator &)=delete |
|
| RowIterator (RowIterator &&)=default |
|
virtual const IteratorProfiler * | GetProfiler () const |
| Get profiling data for this iterator (for 'EXPLAIN ANALYZE'). More...
|
|
virtual void | SetOverrideProfiler (const IteratorProfiler *profiler) |
|
virtual RowIterator * | real_iterator () |
| If this iterator is wrapping a different iterator (e.g. More...
|
|
virtual const RowIterator * | real_iterator () const |
|
◆ RowIDIntersectionIterator()
◆ ~RowIDIntersectionIterator()
RowIDIntersectionIterator::~RowIDIntersectionIterator |
( |
| ) |
|
|
override |
◆ Init()
bool RowIDIntersectionIterator::Init |
( |
| ) |
|
|
overridevirtual |
Initialize or reinitialize the iterator.
You must always call Init() before trying a Read() (but Init() does not imply Read()).
You can call Init() multiple times; subsequent calls will rewind the iterator (or reposition it, depending on whether the iterator takes in e.g. a Index_lookup) and allow you to read the records anew.
Implements RowIterator.
◆ init_ror_merged_scan()
bool RowIDIntersectionIterator::init_ror_merged_scan |
( |
| ) |
|
|
private |
◆ last_rowid()
uchar * RowIDIntersectionIterator::last_rowid |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Read()
int RowIDIntersectionIterator::Read |
( |
| ) |
|
|
overridevirtual |
Read a single row.
The row data is not actually returned from the function; it is put in the table's (or tables', in case of a join) record buffer, ie., table->records[0].
- Return values
-
0 | OK |
-1 | End of records |
1 | Error |
Implements RowIterator.
◆ inited
bool RowIDIntersectionIterator::inited = false |
|
private |
◆ m_children
◆ m_cpk_child
◆ m_last_rowid
uchar* RowIDIntersectionIterator::m_last_rowid |
|
private |
◆ need_rows_in_rowid_order
const bool RowIDIntersectionIterator::need_rows_in_rowid_order |
|
private |
◆ retrieve_full_rows
bool RowIDIntersectionIterator::retrieve_full_rows |
|
private |
◆ scans_inited
bool RowIDIntersectionIterator::scans_inited |
|
private |
The documentation for this class was generated from the following files: