Class Tables.ColumnNameFilterFactory

java.lang.Object
io.debezium.relational.Tables.ColumnNameFilterFactory
Enclosing class:
Tables

public static class Tables.ColumnNameFilterFactory extends Object
  • Constructor Details

    • ColumnNameFilterFactory

      public ColumnNameFilterFactory()
  • Method Details

    • createExcludeListFilter

      public static Tables.ColumnNameFilter createExcludeListFilter(String fullyQualifiedColumnNames, ColumnFilterMode columnFilterMode)
      Build the Tables.ColumnNameFilter that determines whether a column identified by a given ColumnId 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 the Tables.ColumnNameFilter that determines whether a column identified by a given ColumnId 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