MySQL 9.6.0
Source Code Documentation
boundary_set_predicates.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::sets
 

Functions

template<Is_boundary_set Boundary_set_t>
constexpr bool mysql::sets::contains_element (const Boundary_set_t &set, const typename Boundary_set_t::Element_t &element)
 Return true if the element is contained in the Boundary set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_subset (const Interval< Set_traits_t > &interval1, const Is_boundary_set_over_traits< Set_traits_t > auto &set2)
 Return true if the left Interval is a subset of or equal to the right Boundary_set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_subset (const Is_boundary_set_over_traits< Set_traits_t > auto &set1, const Interval< Set_traits_t > &interval2)
 Return true if the left Boundary set is a subset of or equal to the right Interval. More...
 
template<Is_boundary_set Boundary_set1_t, Is_boundary_set Boundary_set2_t>
requires Is_compatible_set<Boundary_set1_t, Boundary_set2_t>
constexpr bool mysql::sets::is_subset (const Boundary_set1_t &set1, const Boundary_set2_t &set2)
 Return true if the left Boundary set is a subset of or equal to the right Boundary_set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_intersecting (const Interval< Set_traits_t > &interval, const Is_boundary_set_over_traits< Set_traits_t > auto &set)
 Return true if the left Interval and the right Boundary set intersect (overlap). More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_intersecting (const Is_boundary_set_over_traits< Set_traits_t > auto &set, const Interval< Set_traits_t > &interval)
 Return true if the left Boundary set and the right Interval intersect (overlap). More...
 
template<Is_boundary_set Boundary_set1_t, Is_boundary_set Boundary_set2_t>
requires Is_compatible_set<Boundary_set1_t, Boundary_set2_t>
constexpr bool mysql::sets::is_intersecting (const Boundary_set1_t &set1, const Boundary_set2_t &set2)
 Return true if the two Boundary sets intersect (overlap). More...
 

Detailed Description

Experimental API header.