MySQL 9.1.0
Source Code Documentation
|
The class Rpl_pfs_filter is introduced to serve the performance_schema.replication_applier_filters table and performance_schema.replication_applier_global_filters table to collect data for a row. More...
#include <rpl_filter.h>
Public Member Functions | |
Rpl_pfs_filter () | |
Rpl_pfs_filter (const char *channel_name, const char *filter_name, const String &filter_rule, Rpl_filter_statistics *rpl_filter_statistics) | |
Rpl_pfs_filter (const Rpl_pfs_filter &other) | |
~Rpl_pfs_filter () | |
const char * | get_channel_name () |
const char * | get_filter_name () |
const String & | get_filter_rule () |
Rpl_filter_statistics * | get_rpl_filter_statistics () |
Private Member Functions | |
Rpl_pfs_filter & | operator= (Rpl_pfs_filter const &) |
Private Attributes | |
const char * | m_channel_name |
const char * | m_filter_name |
Rpl_filter_statistics * | m_rpl_filter_statistics |
String | m_filter_rule |
The class Rpl_pfs_filter is introduced to serve the performance_schema.replication_applier_filters table and performance_schema.replication_applier_global_filters table to collect data for a row.
The class Rpl_filter does not use it directly, since it contains channel_name, which does not belong to Rpl_filter. To decouple code, it depends on Rpl_filter_statistics, does not inherit Rpl_filter_statistics. Instances of this class are created in Rpl_filter for each filter type for each channel and the global filter. Each instance is created when creating, changing or deleting the filter, destroyed when creating, changing or deleting the filter next time.
Rpl_pfs_filter::Rpl_pfs_filter | ( | ) |
Rpl_pfs_filter::Rpl_pfs_filter | ( | const char * | channel_name, |
const char * | filter_name, | ||
const String & | filter_rule, | ||
Rpl_filter_statistics * | rpl_filter_statistics | ||
) |
Rpl_pfs_filter::Rpl_pfs_filter | ( | const Rpl_pfs_filter & | other | ) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |