MySQL 9.1.0
Source Code Documentation
PFS_key_string< SIZE > Class Template Reference

#include <table_helper.h>

Inheritance diagram for PFS_key_string< SIZE >:
[legend]

Public Member Functions

 PFS_key_string (const char *name)
 
 ~PFS_key_string () override=default
 
void read (PFS_key_reader &reader, enum ha_rkey_function find_flag) override
 
void get_exact_key_value (bool &is_null, const char *&key_value, size_t &key_value_length)
 
- Public Member Functions inherited from PFS_key_pstring
 PFS_key_pstring (const char *name)
 
 ~PFS_key_pstring () override=default
 
- Public Member Functions inherited from PFS_engine_key
 PFS_engine_key (const char *name)
 
virtual ~PFS_engine_key ()=default
 

Protected Member Functions

bool do_match (bool record_null, const char *record_value, size_t record_value_length)
 
bool do_match_prefix (bool record_null, const char *record_string, size_t record_string_length)
 
- Protected Member Functions inherited from PFS_key_pstring
bool do_match (bool record_null, const char *record_value, size_t record_value_length)
 
bool do_match_prefix (bool record_null, const char *record_value, size_t record_value_length)
 

Private Attributes

char m_key_value [SIZE *FILENAME_CHARSET_MBMAXLEN]
 
uint m_key_value_length
 

Additional Inherited Members

- Static Public Member Functions inherited from PFS_key_pstring
static enum ha_rkey_function stateless_read (PFS_key_reader &reader, enum ha_rkey_function find_flag, bool &is_null, char *key_value, uint *key_value_length, uint key_value_max_length)
 
static bool stateless_match (bool record_null, const char *record_string, size_t record_string_length, const char *m_key_value, size_t m_key_value_length, bool m_is_null, enum ha_rkey_function m_find_flag)
 
- Public Attributes inherited from PFS_engine_key
const char * m_name
 
- Protected Attributes inherited from PFS_engine_key
enum ha_rkey_function m_find_flag
 
bool m_is_null
 

Constructor & Destructor Documentation

◆ PFS_key_string()

template<int SIZE>
PFS_key_string< SIZE >::PFS_key_string ( const char *  name)
inlineexplicit

◆ ~PFS_key_string()

template<int SIZE>
PFS_key_string< SIZE >::~PFS_key_string ( )
overridedefault

Member Function Documentation

◆ do_match()

template<int SIZE>
bool PFS_key_string< SIZE >::do_match ( bool  record_null,
const char *  record_value,
size_t  record_value_length 
)
inlineprotected

◆ do_match_prefix()

template<int SIZE>
bool PFS_key_string< SIZE >::do_match_prefix ( bool  record_null,
const char *  record_string,
size_t  record_string_length 
)
protected

◆ get_exact_key_value()

template<int SIZE>
void PFS_key_string< SIZE >::get_exact_key_value ( bool &  is_null,
const char *&  key_value,
size_t &  key_value_length 
)
inline

◆ read()

template<int SIZE>
void PFS_key_string< SIZE >::read ( PFS_key_reader reader,
enum ha_rkey_function  find_flag 
)
inlineoverridevirtual

Implements PFS_engine_key.

Member Data Documentation

◆ m_key_value

template<int SIZE>
char PFS_key_string< SIZE >::m_key_value[SIZE *FILENAME_CHARSET_MBMAXLEN]
private

◆ m_key_value_length

template<int SIZE>
uint PFS_key_string< SIZE >::m_key_value_length
private

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