MySQL  8.0.21
Source Code Documentation
st_sort_field Struct Reference

Struct that holds information about a sort field. More...

#include <sort_param.h>

Public Attributes

Itemitem
 Item to sort. More...
 
uint length
 Length of sort field. Beware, can be 0xFFFFFFFFu (infinite)! More...
 
Item_result result_type
 Type of item. More...
 
enum_field_types field_type
 Field type of the item. More...
 
bool reverse
 if descending sort More...
 
bool is_varlen
 If key part has variable length. More...
 
bool maybe_null
 If key part is nullable. More...
 

Detailed Description

Struct that holds information about a sort field.

Member Data Documentation

◆ field_type

enum_field_types st_sort_field::field_type

Field type of the item.

◆ is_varlen

bool st_sort_field::is_varlen

If key part has variable length.

◆ item

Item* st_sort_field::item

Item to sort.

◆ length

uint st_sort_field::length

Length of sort field. Beware, can be 0xFFFFFFFFu (infinite)!

◆ maybe_null

bool st_sort_field::maybe_null

If key part is nullable.

◆ result_type

Item_result st_sort_field::result_type

Type of item.

◆ reverse

bool st_sort_field::reverse

if descending sort


The documentation for this struct was generated from the following file: