My Project
Public Types | Public Member Functions | Public Attributes
QUICK_SELECT_I Class Reference
Inheritance diagram for QUICK_SELECT_I:
QUICK_GROUP_MIN_MAX_SELECT QUICK_INDEX_MERGE_SELECT QUICK_RANGE_SELECT QUICK_ROR_INTERSECT_SELECT QUICK_ROR_UNION_SELECT FT_SELECT QUICK_RANGE_SELECT_GEOM QUICK_SELECT_DESC

List of all members.

Public Types

enum  {
  QS_TYPE_RANGE = 0, QS_TYPE_INDEX_MERGE = 1, QS_TYPE_RANGE_DESC = 2, QS_TYPE_FULLTEXT = 3,
  QS_TYPE_ROR_INTERSECT = 4, QS_TYPE_ROR_UNION = 5, QS_TYPE_GROUP_MIN_MAX = 6
}

Public Member Functions

virtual int init ()=0
virtual int reset (void)=0
virtual int get_next ()=0
virtual void range_end ()
virtual bool reverse_sorted () const =0
virtual bool reverse_sort_possible () const =0
virtual bool unique_key_range ()
virtual bool clustered_pk_range ()
virtual void need_sorted_output ()=0
virtual int get_type ()=0
virtual int init_ror_merged_scan (bool reuse_handler)
virtual void save_last_pos ()
virtual void add_keys_and_lengths (String *key_names, String *used_lengths)=0
virtual void add_info_string (String *str)
virtual bool is_keys_used (const MY_BITMAP *fields)
virtual bool is_valid ()
virtual void dbug_dump (int indent, bool verbose)=0
virtual QUICK_SELECT_Imake_reverse (uint used_key_parts_arg)
virtual void set_handler (handler *file_arg)

Public Attributes

ha_rows records
double read_time
TABLEhead
uint index
uint max_used_key_length
uint used_key_parts
uchar * last_rowid
uchar * record

Member Function Documentation

virtual bool QUICK_SELECT_I::is_valid ( ) [inline, virtual]

Simple sanity check that the quick select has been set up correctly. Function is overridden by quick selects that merge indices.

Reimplemented in QUICK_ROR_UNION_SELECT, QUICK_ROR_INTERSECT_SELECT, and QUICK_INDEX_MERGE_SELECT.

virtual bool QUICK_SELECT_I::reverse_sort_possible ( ) const [pure virtual]

Whether the range access method is capable of returning records in reverse order.

Implemented in QUICK_SELECT_DESC, QUICK_GROUP_MIN_MAX_SELECT, QUICK_ROR_UNION_SELECT, QUICK_ROR_INTERSECT_SELECT, QUICK_INDEX_MERGE_SELECT, and QUICK_RANGE_SELECT.

virtual bool QUICK_SELECT_I::reverse_sorted ( ) const [pure virtual]

Whether the range access method returns records in reverse order.

Implemented in QUICK_SELECT_DESC, QUICK_GROUP_MIN_MAX_SELECT, QUICK_ROR_UNION_SELECT, QUICK_ROR_INTERSECT_SELECT, QUICK_INDEX_MERGE_SELECT, and QUICK_RANGE_SELECT.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines