MySQL  8.0.19
Source Code Documentation
LF_HASH Struct Reference

#include <lf.h>

Public Attributes

LF_DYNARRAY array
 
LF_ALLOCATOR alloc
 
hash_get_key_function get_key
 
CHARSET_INFOcharset
 
lf_hash_funchash_function
 
uint key_offset
 
uint key_length
 
uint element_size
 
uint flags
 
std::atomic< int32size
 
std::atomic< int32count
 
lf_hash_init_funcinitialize
 "Initialize" hook - called to finish initialization of object provided by LF_ALLOCATOR (which is pointed by "dst" parameter) and set element key from object passed as parameter to lf_hash_insert (pointed by "src" parameter). More...
 

Member Data Documentation

◆ alloc

LF_ALLOCATOR LF_HASH::alloc

◆ array

LF_DYNARRAY LF_HASH::array

◆ charset

CHARSET_INFO* LF_HASH::charset

◆ count

std::atomic<int32> LF_HASH::count

◆ element_size

uint LF_HASH::element_size

◆ flags

uint LF_HASH::flags

◆ get_key

hash_get_key_function LF_HASH::get_key

◆ hash_function

lf_hash_func* LF_HASH::hash_function

◆ initialize

lf_hash_init_func* LF_HASH::initialize

"Initialize" hook - called to finish initialization of object provided by LF_ALLOCATOR (which is pointed by "dst" parameter) and set element key from object passed as parameter to lf_hash_insert (pointed by "src" parameter).

Allows to use LF_HASH with objects which are not "trivially copyable". NULL value means that element initialization is carried out by copying first element_size bytes from object which provided as parameter to lf_hash_insert.

◆ key_length

uint LF_HASH::key_length

◆ key_offset

uint LF_HASH::key_offset

◆ size

std::atomic<int32> LF_HASH::size

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