My Project
Public Member Functions | Public Attributes
QUICK_RANGE Class Reference
Inheritance diagram for QUICK_RANGE:
Sql_alloc

List of all members.

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

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.
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.
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.
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.

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