24#ifndef CS_COLUMN_FILTER_FACTORY_H
25#define CS_COLUMN_FILTER_FACTORY_H
57 switch (filter_type) {
62 return std::make_unique<ColumnFilterInboundFunctionalIndexes>();
64 return std::make_unique<ColumnFilterInboundGipk>();
86 switch (filter_type) {
89 thd, table, tabledef);
92 thd, table, tabledef);
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
This class allows the developer to create a filter instance given a type.
Definition: column_filter_factory.h:38
ColumnFilterType
The different types of filters for column iteration.
Definition: column_filter_factory.h:43
static bool is_filter_needed(THD const &thd, TABLE *table, table_def const *tabledef, ColumnFilterType filter_type)
Returns if a filter is needed given the parameters.
Definition: column_filter_factory.h:83
static std::unique_ptr< ColumnFilter > create_filter(ColumnFilterType filter_type)
Create a filter object.
Definition: column_filter_factory.h:55
static bool is_filter_needed(THD const &thd, TABLE *table, table_def const *tabledef)
Is this filter needed given context passed in the parameters.
Definition: column_filter_inbound_func_indexes.cc:34
static bool is_filter_needed(THD const &thd, TABLE *table, table_def const *tabledef)
Is this filter needed given context passed in the parameters.
Definition: column_filter_inbound_gipk.cc:32
Definition: column_filter_outbound_func_indexes.h:59
static bool is_filter_needed(THD const &thd, TABLE *table, table_def const *tabledef)
Is this filter needed given context passed in the parameters.
Definition: column_filter_outbound_func_indexes.cc:34
A table definition from the master.
Definition: rpl_utility.h:248
Definition: commit_order_queue.h:34
Unique_ptr< T, std::nullptr_t > make_unique(size_t size)
In-place constructs a new unique pointer with no specific allocator and with array type T.