MySQL  8.0.19
Source Code Documentation
store_key Class Referenceabstract

class to copying an field/item to a key struct More...

#include <sql_select.h>

Inheritance diagram for store_key:
store_key_item store_key_hash_item

Public Types

enum  store_key_result { STORE_KEY_OK, STORE_KEY_FATAL, STORE_KEY_CONV }
 

Public Member Functions

 store_key (THD *thd, Field *field_arg, uchar *ptr, uchar *null, uint length)
 
virtual ~store_key ()=default
 
virtual const char * name () const =0
 
store_key_result copy ()
 sets ignore truncation warnings mode and calls the real copy method More...
 

Public Attributes

bool null_key {false}
 

Protected Member Functions

virtual enum store_key_result copy_inner ()=0
 

Protected Attributes

Fieldto_field
 

Detailed Description

class to copying an field/item to a key struct

Member Enumeration Documentation

◆ store_key_result

Enumerator
STORE_KEY_OK 
STORE_KEY_FATAL 
STORE_KEY_CONV 

Constructor & Destructor Documentation

◆ ~store_key()

virtual store_key::~store_key ( )
virtualdefault

Member Function Documentation

◆ copy_inner()

virtual enum store_key_result store_key::copy_inner ( )
protectedpure virtual

Implemented in store_key_hash_item, and store_key_item.

◆ name()

virtual const char* store_key::name ( ) const
pure virtual

Implemented in store_key_hash_item, and store_key_item.

Member Data Documentation

◆ null_key

bool store_key::null_key {false}

◆ to_field

Field* store_key::to_field
protected

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