MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QUICK_RANGE Class Reference
Inheritance diagram for QUICK_RANGE:
Collaboration diagram for QUICK_RANGE:

Public Member Functions

 QUICK_RANGE (const uchar *min_key_arg, uint min_length_arg, key_part_map min_keypart_map_arg, const uchar *max_key_arg, uint max_length_arg, key_part_map max_keypart_map_arg, uint flag_arg)
void make_min_endpoint (key_range *kr, uint prefix_length, key_part_map keypart_map)
void make_min_endpoint (key_range *kr)
void make_max_endpoint (key_range *kr, uint prefix_length, key_part_map keypart_map)
void make_max_endpoint (key_range *kr)

Public Attributes

uchar * min_key
uchar * max_key
uint16 min_length
uint16 max_length
uint16 flag
key_part_map min_keypart_map
key_part_map max_keypart_map

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)

Detailed Description

Definition at line 53 of file opt_range.h.

Member Function Documentation

void QUICK_RANGE::make_max_endpoint ( key_range kr,
uint  prefix_length,
key_part_map  keypart_map 
)
inline

Initalizes a key_range object for communication with storage engine.

This function facilitates communication with the Storage Engine API by translating the maximum endpoint of the interval represented by this QUICK_RANGE into an index range endpoint specifier for the engine.

Parameters
Pointerto an uninitialized key_range C struct.
prefix_lengthThe length of the search key prefix to be used for lookup.
keypart_mapA set (bitmap) of keyparts to be used.

Definition at line 120 of file opt_range.h.

void QUICK_RANGE::make_max_endpoint ( key_range kr)
inline

Initalizes a key_range object for communication with storage engine.

This function facilitates communication with the Storage Engine API by translating the maximum endpoint of the interval represented by this QUICK_RANGE into an index range endpoint specifier for the engine.

Parameters
Pointerto an uninitialized key_range C struct.

Definition at line 137 of file opt_range.h.

void QUICK_RANGE::make_min_endpoint ( key_range kr,
uint  prefix_length,
key_part_map  keypart_map 
)
inline

Initalizes a key_range object for communication with storage engine.

This function facilitates communication with the Storage Engine API by translating the minimum endpoint of the interval represented by this QUICK_RANGE into an index range endpoint specifier for the engine.

Parameters
Pointerto an uninitialized key_range C struct.
prefix_lengthThe length of the search key prefix to be used for lookup.
keypart_mapA set (bitmap) of keyparts to be used.

Definition at line 81 of file opt_range.h.

void QUICK_RANGE::make_min_endpoint ( key_range kr)
inline

Initalizes a key_range object for communication with storage engine.

This function facilitates communication with the Storage Engine API by translating the minimum endpoint of the interval represented by this QUICK_RANGE into an index range endpoint specifier for the engine.

Parameters
Pointerto an uninitialized key_range C struct.

Definition at line 98 of file opt_range.h.


The documentation for this class was generated from the following files: