MySQL 9.6.0
Source Code Documentation
interval_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_interval_set Interval_set_t>
constexpr bool mysql::sets::contains_element (const Interval_set_t &set, const typename Interval_set_t::Element_t &element)
 Return true if the element is contained in the Interval set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_subset (const Interval< Set_traits_t > &interval1, const Is_interval_set_over_traits< Set_traits_t > auto &set2)
 Return true if the left Interval is a subset of or equal to the right Interval set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_subset (const Is_interval_set_over_traits< Set_traits_t > auto &set1, const Interval< Set_traits_t > &interval2)
 Return true if the left Interval set is a subset of or equal to the right Interval. More...
 
template<Is_interval_set Interval_set1_tp, Is_interval_set Interval_set2_tp>
requires Is_compatible_set<Interval_set1_tp, Interval_set2_tp>
constexpr bool mysql::sets::is_subset (const Interval_set1_tp &set1, const Interval_set2_tp &set2)
 Return true if the left Interval set is a subset of or equal to the right Interval set. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_intersecting (const Interval< Set_traits_t > &interval, const Is_interval_set_over_traits< Set_traits_t > auto &set)
 Return true if the left Interval and the right Interval set intersect. More...
 
template<Is_bounded_set_traits Set_traits_t>
constexpr bool mysql::sets::is_intersecting (const Is_interval_set_over_traits< Set_traits_t > auto &set, const Interval< Set_traits_t > &interval)
 Return true if the left Interval set and the right Interval intersect. More...
 
template<Is_interval_set Interval_set1_tp, Is_interval_set Interval_set2_tp>
requires Is_compatible_set<Interval_set1_tp, Interval_set2_tp>
constexpr bool mysql::sets::is_intersecting (const Interval_set1_tp &set1, const Interval_set2_tp &set2)
 Return true if the two Interval sets intersect (overlap). More...
 

Detailed Description

Experimental API header.