![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
#include <index_range_scan.h>
Public Member Functions | |
| IndexRangeScanIterator (THD *thd, TABLE *table, ha_rows *examined_rows, double expected_rows, uint index_arg, bool need_rows_in_rowid_order, bool reuse_handler, MEM_ROOT *return_mem_root, uint mrr_flags, uint mrr_buf_size, Bounds_checked_array< QUICK_RANGE * > ranges) | |
| ~IndexRangeScanIterator () override | |
| IndexRangeScanIterator (const IndexRangeScanIterator &)=delete | |
| IndexRangeScanIterator (IndexRangeScanIterator &&)=default | |
| void | UnlockRow () override | 
| The default implementation of unlock-row method of RowIterator, used in all access methods except EQRefIterator.  More... | |
| uint | get_mrr_flags () const | 
| uchar * | last_rowid () const override | 
  Public Member Functions inherited from RowIDCapableRowIterator | |
| RowIDCapableRowIterator (THD *thd, TABLE *table) | |
  Public Member Functions inherited from TableRowIterator | |
| TableRowIterator (THD *thd, TABLE *table) | |
| 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... | |
  Public Member Functions inherited from RowIterator | |
| 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... | |
Protected Attributes | |
| handler * | file | 
| uint | index | 
| bool | in_ror_merged_scan | 
| MY_BITMAP | column_bitmap | 
| Bounds_checked_array< QUICK_RANGE * > | ranges | 
| bool | free_file | 
| QUICK_RANGE ** | cur_range | 
| QUICK_RANGE * | last_range | 
| QUICK_RANGE_SEQ_CTX | qr_traversal_ctx | 
| uint | mrr_flags | 
| uint | mrr_buf_size | 
| HANDLER_BUFFER * | mrr_buf_desc | 
| KEY_PART_INFO * | key_part_info | 
| const bool | need_rows_in_rowid_order | 
| const bool | reuse_handler | 
Private Member Functions | |
| int | cmp_next (QUICK_RANGE *range) | 
| int | cmp_prev (QUICK_RANGE *range) | 
| bool | row_in_ranges () | 
| bool | shared_init () | 
| bool | shared_reset () | 
| bool | init_ror_merged_scan () | 
| bool | DoInit () override | 
| int | DoRead () override | 
Private Attributes | |
| MEM_ROOT * | mem_root | 
| bool | inited = false | 
| const double | m_expected_rows | 
| ha_rows * | m_examined_rows | 
Friends | |
| class | IndexMergeIterator | 
| class | RowIDIntersectionIterator | 
| uint | quick_range_seq_next (range_seq_t rseq, KEY_MULTI_RANGE *range) | 
| range_seq_t | quick_range_seq_init (void *init_param, uint n_ranges, uint flags) | 
Additional Inherited Members | |
  Protected Member Functions inherited from TableRowIterator | |
| int | HandleError (int error) | 
| void | PrintError (int error) | 
| TABLE * | table () const | 
  Protected Member Functions inherited from RowIterator | |
| THD * | thd () const | 
| IndexRangeScanIterator::IndexRangeScanIterator | ( | THD * | thd, | 
| TABLE * | table, | ||
| ha_rows * | examined_rows, | ||
| double | expected_rows, | ||
| uint | index_arg, | ||
| bool | need_rows_in_rowid_order, | ||
| bool | reuse_handler, | ||
| MEM_ROOT * | return_mem_root, | ||
| uint | mrr_flags, | ||
| uint | mrr_buf_size, | ||
| Bounds_checked_array< QUICK_RANGE * > | ranges | ||
| ) | 
      
  | 
  override | 
      
  | 
  delete | 
      
  | 
  default | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  overrideprivatevirtual | 
Implements RowIterator.
      
  | 
  overrideprivatevirtual | 
Implements RowIterator.
      
  | 
  inline | 
      
  | 
  private | 
      
  | 
  inlineoverridevirtual | 
Implements RowIDCapableRowIterator.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  inlineoverridevirtual | 
The default implementation of unlock-row method of RowIterator, used in all access methods except EQRefIterator.
Reimplemented from TableRowIterator.
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  private | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |