My Project
Public Member Functions | Public Attributes
Filesort Class Reference

#include <filesort.h>

Inheritance diagram for Filesort:
Sql_alloc

List of all members.

Public Member Functions

 Filesort (ORDER *order_arg, ha_rows limit_arg, SQL_SELECT *select_arg)
uint make_sortorder ()

Public Attributes

ORDERorder
ha_rows limit
SORT_FIELD * sortorder
SQL_SELECTselect
bool own_select
bool using_pq

Detailed Description

Sorting related info. To be extended by another WL to include complete filesort implementation.


Member Data Documentation

ha_rows Filesort::limit

Number of records to return

List of expressions to order the table by

TRUE <=> free select on destruction

select to use for getting records

SORT_FIELD* Filesort::sortorder

ORDER BY list with some precalculated info for filesort

true means we are using Priority Queue for order by with limit.


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