MySQL 8.4.0
Source Code Documentation
cs::util::ReplicatedColumnsViewFactory Class Reference

This class allows the creation of different types of column view instances and also adds different filters depending on context. More...

#include <replicated_columns_view_factory.h>

Static Public Member Functions

static std::unique_ptr< ReplicatedColumnsViewget_columns_view_with_inbound_filters (THD *thd, TABLE *table, table_def const *tabledef)
 This function returns the appropriate class to iterate over the given table columns. More...
 
static std::unique_ptr< ReplicatedColumnsViewget_columns_view_with_outbound_filters (THD *thd, TABLE *table)
 This function returns the appropriate class to iterate over the given table columns. More...
 

Detailed Description

This class allows the creation of different types of column view instances and also adds different filters depending on context.

Member Function Documentation

◆ get_columns_view_with_inbound_filters()

static std::unique_ptr< ReplicatedColumnsView > cs::util::ReplicatedColumnsViewFactory::get_columns_view_with_inbound_filters ( THD thd,
TABLE table,
table_def const *  tabledef 
)
inlinestatic

This function returns the appropriate class to iterate over the given table columns.

It also adds inbound filtering

It might return a standard column view/iteration class or one that accounts for GIPK or other differences

Parameters
thdThe thread object to extract context information
tableThe table where the column view will be created
tabledefContext on the replicated table
Returns
A unique pointer to a ReplicatedColumnsView object instance

◆ get_columns_view_with_outbound_filters()

static std::unique_ptr< ReplicatedColumnsView > cs::util::ReplicatedColumnsViewFactory::get_columns_view_with_outbound_filters ( THD thd,
TABLE table 
)
inlinestatic

This function returns the appropriate class to iterate over the given table columns.

It also adds outbound filtering

Parameters
thdThe thread object to extract context information
tableThe table where the column view will be created
Returns
A unique pointer to a ReplicatedColumnsView object instance

The documentation for this class was generated from the following file: