23#ifndef CS_COLUMN_FILTER_FACTORY_H
24#define CS_COLUMN_FILTER_FACTORY_H
56 switch (filter_type) {
61 return std::make_unique<ColumnFilterInboundFunctionalIndexes>();
63 return std::make_unique<ColumnFilterInboundGipk>();
85 switch (filter_type) {
88 thd,
table, tabledef);
91 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:35
This class allows the developer to create a filter instance given a type.
Definition: column_filter_factory.h:37
ColumnFilterType
The different types of filters for column iteration.
Definition: column_filter_factory.h:42
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:82
static std::unique_ptr< ColumnFilter > create_filter(ColumnFilterType filter_type)
Create a filter object.
Definition: column_filter_factory.h:54
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:33
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:31
Definition: column_filter_outbound_func_indexes.h:58
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:33
A table definition from the master.
Definition: rpl_utility.h:247
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
Definition: commit_order_queue.h:33
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.