MySQL 9.6.0
Source Code Documentation
encode.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::sets
 
namespace  mysql::sets::strconv
 
namespace  mysql::strconv
 

Functions

template<mysql::sets::Is_discrete_set_traits Set_traits_t>
void mysql::sets::strconv::interval_to_text (const Is_format auto &format, Is_string_target auto &target, const mysql::sets::Interval< Set_traits_t > &interval)
 Write an Interval in text format to the given Is_string_target. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
requires mysql::sets::Is_discrete_set_traits< typename Boundary_set_t::Set_traits_t>
void mysql::sets::strconv::boundary_set_to_text (const Is_format auto &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Write a Boundary_set in text format to the given Is_string_target. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
requires mysql::sets::Is_discrete_metric_set_traits< typename Boundary_set_t::Set_traits_t>
void mysql::sets::strconv::boundary_set_to_binary (const Is_format auto &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Write a boundary set in a space-efficient binary format that uses variable-length integers, delta-compression, and an optimization to sometimes omit the first value. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
requires mysql::sets::Is_bounded_set_traits< typename Boundary_set_t::Set_traits_t>
void mysql::sets::strconv::boundary_set_to_binary_fixint (const Is_format auto &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Write boundary sets in binary format with fixed-width integers to the given Is_string_target. More...
 
void mysql::sets::strconv::encode_interval_set (const Is_format auto &format, Is_string_target auto &target, const mysql::sets::Is_interval_set auto &interval_set)
 Write an interval set to the given Is_string_target. More...
 
void mysql::sets::strconv::nested_set_to_text (const mysql::strconv::Is_nested_set_text_format auto &format, Is_string_target auto &target, const mysql::sets::Is_nested_set auto &nested_set)
 Write a nested set to the given Is_string_target. More...
 
template<mysql::sets::Is_bounded_set_traits Set_traits_t>
void mysql::strconv::encode_impl (const Boundary_set_text_format &format, Is_string_target auto &target, const mysql::sets::Interval< Set_traits_t > &interval)
 Enable mysql::strconv::encode(Boundary_set_text_format, Interval), for intervals whose Set traits that are discrete. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
void mysql::strconv::encode_impl (const Boundary_set_text_format &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Enable mysql::strconv::encode(Boundary_set_text_format, Interval), for boundary sets whose Set traits that are discrete. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
void mysql::strconv::encode_impl (const Fixint_binary_format &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Enable mysql::strconv::encode(Fixint_binary_format, Boundary_set), for boundary sets whose Set traits that are discrete. More...
 
template<mysql::sets::Is_boundary_set Boundary_set_t>
requires mysql::sets::Is_discrete_metric_set_traits< typename Boundary_set_t::Set_traits_t>
void mysql::strconv::encode_impl (const Binary_format &format, Is_string_target auto &target, const Boundary_set_t &boundary_set)
 Enable mysql::strconv::encode(Binary_format, Boundary_set), for boundary sets whose Set traits that are discrete and metric. More...
 
void mysql::strconv::encode_impl (const Is_format auto &format, Is_string_target auto &target, const mysql::sets::Is_interval_set auto &interval_set)
 Enable mysql::strconv::encode(/*Format*‍/, Interval_set), by writing the boundaries in the given format. More...
 
void mysql::strconv::encode_impl (const mysql::strconv::Is_nested_set_text_format auto &format, Is_string_target auto &target, const mysql::sets::Is_nested_set auto &nested_set)
 Enable mysql::strconv::encode(/*Format*‍/, Nested_set), by writing the boundaries in the given format. More...
 

Detailed Description

Experimental API header.