![]() |
MySQL 9.0.0
Source Code Documentation
|
When iterating the table fields for sometimes you want to skip some columns. More...
#include <column_filter.h>
Public Member Functions | |
virtual | ~ColumnFilter ()=default |
virtual bool | filter_column (TABLE const *table, size_t column_index)=0 |
When iterating the table fields for sometimes you want to skip some columns.
Such a case is the filtering of GIPK or functional indexes when replicating a table.
Classes that inherit this class shall also implement the method
static bool is_filter_needed(THD const *thd, TABLE *table, table_def const *tabledef);
It allows for the conditional addition of the filter only when it makes sense
|
virtualdefault |
|
pure virtual |