MySQL 8.4.3
Source Code Documentation
Collation_hasher Class Reference

A Hasher that hashes std::strings according to a MySQL collation. More...

#include <map_helpers.h>

Public Member Functions

 Collation_hasher (const CHARSET_INFO *cs_arg)
 
size_t operator() (const std::string &s) const
 

Private Attributes

const CHARSET_INFOcs
 
decltype(cs->coll->hash_sort) hash_sort
 

Detailed Description

A Hasher that hashes std::strings according to a MySQL collation.

Constructor & Destructor Documentation

◆ Collation_hasher()

Collation_hasher::Collation_hasher ( const CHARSET_INFO cs_arg)
inlineexplicit

Member Function Documentation

◆ operator()()

size_t Collation_hasher::operator() ( const std::string &  s) const
inline

Member Data Documentation

◆ cs

const CHARSET_INFO* Collation_hasher::cs
private

◆ hash_sort

decltype(cs->coll->hash_sort) Collation_hasher::hash_sort
private

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