Package io.debezium.relational
Class Tables.ColumnNameFilterFactory
java.lang.Object
io.debezium.relational.Tables.ColumnNameFilterFactory
- Enclosing class:
- Tables
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Tables.ColumnNameFilter
createExcludeListFilter
(String fullyQualifiedColumnNames, ColumnFilterMode columnFilterMode) Build theTables.ColumnNameFilter
that determines whether a column identified by a givenColumnId
is to be included, using the given comma-separated regular expression patterns defining which columns (if any) should be excluded.static Tables.ColumnNameFilter
createIncludeListFilter
(String fullyQualifiedColumnNames, ColumnFilterMode columnFilterMode) Build theTables.ColumnNameFilter
that determines whether a column identified by a givenColumnId
is to be included, using the given comma-separated regular expression patterns defining which columns (if any) should be included.
-
Constructor Details
-
ColumnNameFilterFactory
public ColumnNameFilterFactory()
-
-
Method Details
-
createExcludeListFilter
public static Tables.ColumnNameFilter createExcludeListFilter(String fullyQualifiedColumnNames, ColumnFilterMode columnFilterMode) Build theTables.ColumnNameFilter
that determines whether a column identified by a givenColumnId
is to be included, using the given comma-separated regular expression patterns defining which columns (if any) should be excluded.Note that this predicate is completely independent of the table selection predicate, so it is expected that this predicate be used only after the table selection predicate determined the table containing the column(s) is to be used.
- Parameters:
fullyQualifiedColumnNames
- the comma-separated list of fully-qualified column names to exclude; may be null or- Returns:
- a column name filter; never null
-
createIncludeListFilter
public static Tables.ColumnNameFilter createIncludeListFilter(String fullyQualifiedColumnNames, ColumnFilterMode columnFilterMode) Build theTables.ColumnNameFilter
that determines whether a column identified by a givenColumnId
is to be included, using the given comma-separated regular expression patterns defining which columns (if any) should be included.Note that this predicate is completely independent of the table selection predicate, so it is expected that this predicate be used only after the table selection predicate determined the table containing the column(s) is to be used.
- Parameters:
fullyQualifiedColumnNames
- the comma-separated list of fully-qualified column names to include; may be null or- Returns:
- a column name filter; never null
-