![]() |
MySQL 9.6.0
Source Code Documentation
|
Class that defines the Interval type used for Gtid intervals. More...
#include <gtid_set.h>
Public Member Functions | |
| Gtid_interval () | |
Public Member Functions inherited from mysql::sets::Interval< Set_traits_tp > | |
| Interval () | |
| void | throwing_assign (const Element_t &start_arg, const Element_t &exclusive_end_arg) |
| Set the start and exclusive end to the given values. More... | |
| void | throwing_set_start (const Element_t &start_arg) |
| Set the start to the given value. More... | |
| void | throwing_set_exclusive_end (const Element_t &exclusive_end_arg) |
| Set the exclusive end to the given value. More... | |
| Return_status_t | assign (const Element_t &start_arg, const Element_t &exclusive_end_arg) |
| Set the start and exclusive end to the given values. More... | |
| Return_status_t | set_start (const Element_t &start_arg) |
| Set the start to the given value. More... | |
| Return_status_t | set_exclusive_end (const Element_t &exclusive_end_arg) |
| Set the exclusive end to the given value. More... | |
Public Member Functions inherited from mysql::sets::detail::Interval_base< Set_traits_tp > | |
| constexpr const Element_t & | start () const |
| Return const reference to the starting point of the interval (inclusive). More... | |
| constexpr const Element_t & | exclusive_end () const |
| Return const reference to the exclusive endpoint of the interval. More... | |
Static Public Member Functions | |
| static Gtid_interval | throwing_make (const Element_t &start_arg, const Element_t &exclusive_end_arg) |
| Construct an interval with the given values for start and exclusive end. More... | |
| static Gtid_interval | throwing_make (const Element_t &singleton) |
| Construct a singleton interval. More... | |
Static Public Member Functions inherited from mysql::sets::Interval< Set_traits_tp > | |
| static Interval | throwing_make (const Element_t &start_arg, const Element_t &exclusive_end_arg) |
| Construct an interval with the given values for start and exclusive end. More... | |
| static Interval | throwing_make (const Element_t &singleton) |
| Construct a singleton interval. More... | |
Private Types | |
| using | Base_t = detail::Gtid_interval_alias |
Private Member Functions | |
| Gtid_interval (const Element_t &start_arg, const Element_t &exclusive_end_arg) | |
| Construct an interval with the given values for start and exclusive end. More... | |
| Gtid_interval (const Element_t &singleton) | |
| Construct a singleton interval. More... | |
Additional Inherited Members | |
Public Types inherited from mysql::sets::Interval< Set_traits_tp > | |
| using | Set_traits_t = Set_traits_tp |
| using | Element_t = Set_traits_t::Element_t |
| using | Return_status_t = mysql::utils::Return_status |
Public Types inherited from mysql::sets::detail::Interval_base< Set_traits_tp > | |
| using | Set_traits_t = Set_traits_tp |
| using | Element_t = Set_traits_t::Element_t |
Protected Member Functions inherited from mysql::sets::Interval< Set_traits_tp > | |
| Interval (const Element_t &start_arg, const Element_t &exclusive_end_arg) | |
| Construct an interval with the given values for start and exclusive end. More... | |
| Interval (const Element_t &singleton) | |
| Construct a singleton interval. More... | |
Protected Member Functions inherited from mysql::sets::detail::Interval_base< Set_traits_tp > | |
| constexpr | Interval_base () |
| This is enabled if Set_traits_t are discrete set traits. More... | |
| constexpr | Interval_base (const Element_t &start, const Element_t &exclusive_end) |
| Construct an interval with the given inclusive start and exclusive end. More... | |
| constexpr | Interval_base (Element_t singleton) |
| Construct a singleton interval. More... | |
| void | assign (const Element_t &start_arg, const Element_t &exclusive_end_arg) |
| Set both boundaries to the given values, without validating the range. More... | |
| void | set_start (Element_t start_arg) |
| Set the value for the start boundary, without validating the range. More... | |
| void | set_exclusive_end (Element_t exclusive_end_arg) |
| Set the value for the exclusive_end boundary, without validating the range. More... | |
Class that defines the Interval type used for Gtid intervals.
|
private |
|
inlineexplicitprivate |
Construct an interval with the given values for start and exclusive end.
| std::domain_error | if the values are out of range or out of order. |
|
inlineexplicitprivate |
Construct a singleton interval.
| std::domain_error | if the value is out of range. |
|
inline |
|
inlinestatic |
Construct a singleton interval.
| std::domain_error | if the value is out of range. |
|
inlinestatic |
Construct an interval with the given values for start and exclusive end.
| std::domain_error | if the values are out of range or out of order. |