Package io.debezium.relational
Class Tables.ColumnNameFilterFactory
- java.lang.Object
-
- io.debezium.relational.Tables.ColumnNameFilterFactory
-
-
Constructor Summary
Constructors Constructor Description ColumnNameFilterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.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.
-
-
-
Method Detail
-
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
-
-