An iterator much like IndexRangeScanIterator, but it scans in the reverse order.
More...
|
| | ReverseIndexRangeScanIterator (THD *thd, TABLE *table, ha_rows *examined_rows, double expected_rows, uint index, MEM_ROOT *return_mem_root, uint mrr_flags, Bounds_checked_array< QUICK_RANGE * > ranges, bool using_extended_key_parts) |
| |
| | ~ReverseIndexRangeScanIterator () override |
| |
| | 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 |
| |
| bool | Init () |
| | Initialize or reinitialize the iterator. More...
|
| |
| int | Read () |
| | Read a single row. More...
|
| |
| 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 |
| |
| uint64_t | num_init_calls () const |
| | Returns the number of times Init() has been called on this iterator. More...
|
| |
| uint64_t | num_rows () const |
| | Returns the number of times Read() has returned a row successfully from this iterator. More...
|
| |
| uint64_t | num_full_reads () const |
| | Returns the number of times the iterator has been fully read. More...
|
| |
An iterator much like IndexRangeScanIterator, but it scans in the reverse order.
This makes it at times more complicated, but since it doesn't support being a part of a ROR scan, it is also less complicated in many ways.
One could argue that this and IndexRangeScanIterator should be factored into a common base class with separate _ASC and _DESC classes, but they don't actually duplicate that much code.