MySQL 5.6.14 Source Code Document
|
#include <filesort.h>
Public Member Functions | |
Filesort (ORDER *order_arg, ha_rows limit_arg, SQL_SELECT *select_arg) | |
uint | make_sortorder () |
Public Attributes | |
ORDER * | order |
ha_rows | limit |
SORT_FIELD * | sortorder |
SQL_SELECT * | select |
bool | own_select |
bool | using_pq |
Additional Inherited Members | |
Static Public Member Functions inherited from Sql_alloc | |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
Sorting related info. To be extended by another WL to include complete filesort implementation.
Definition at line 34 of file filesort.h.
ha_rows Filesort::limit |
Number of records to return
Definition at line 40 of file filesort.h.
ORDER* Filesort::order |
List of expressions to order the table by
Definition at line 38 of file filesort.h.
bool Filesort::own_select |
TRUE <=> free select on destruction
Definition at line 46 of file filesort.h.
SQL_SELECT* Filesort::select |
select to use for getting records
Definition at line 44 of file filesort.h.
SORT_FIELD* Filesort::sortorder |
ORDER BY list with some precalculated info for filesort
Definition at line 42 of file filesort.h.
bool Filesort::using_pq |
true means we are using Priority Queue for order by with limit.
Definition at line 48 of file filesort.h.