![]() |
MySQL 9.4.0
Source Code Documentation
|
Helper class for building a hash key. More...
#include <json_hash.h>
Public Member Functions | |
Json_wrapper_crc_hasher (ulonglong hash_val) | |
ulonglong | get_hash_value () override |
Return the computed hash value in integer form. More... | |
void | add_character (uchar ch) override |
void | add_string (const char *str, size_t len) override |
![]() | |
void | add_integer (longlong ll) |
void | add_double (double d) |
virtual | ~Json_wrapper_hasher ()=default |
Private Member Functions | |
void | add_to_crc (uchar ch) |
Add another character to the evolving crc. More... | |
Private Attributes | |
ulonglong | m_crc |
Helper class for building a hash key.
|
inlineexplicit |
|
inlineoverridevirtual |
Implements Json_wrapper_hasher.
|
inlineoverridevirtual |
Implements Json_wrapper_hasher.
|
inlineprivate |
Add another character to the evolving crc.
[in] | ch | The character to add |
|
inlineoverridevirtual |
Return the computed hash value in integer form.
This is optional as each seperate hasher would like to produce hash in different forms.
Reimplemented from Json_wrapper_hasher.
|
private |