Package io.debezium.relational
Interface Tables.TableFilter
- All Superinterfaces:
DataCollectionFilters.DataCollectionFilter<TableId>
- All Known Implementing Classes:
Tables.CachingTableFilter
- Enclosing class:
Tables
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Tables.TableFilter
extends DataCollectionFilters.DataCollectionFilter<TableId>
A filter for tables.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Tables.TableFiltercached(Tables.TableFilter filter) Creates aTables.TableFilterthat caches the results of the given filter.static Tables.TableFilterfromPredicate(Predicate<TableId> predicate) Creates aTables.TableFilterfrom the given predicate.static Tables.TableFilterCreates aTables.TableFilterthat includes all tables.booleanisIncluded(TableId tableId) Determines whether the given table should be included in the currentDatabaseSchema.
-
Method Details
-
isIncluded
Determines whether the given table should be included in the currentDatabaseSchema.- Specified by:
isIncludedin interfaceDataCollectionFilters.DataCollectionFilter<TableId>
-
fromPredicate
Creates aTables.TableFilterfrom the given predicate. -
includeAll
Creates aTables.TableFilterthat includes all tables. -
cached
Creates aTables.TableFilterthat caches the results of the given filter.- Parameters:
filter- the filter to wrap; may not be null- Returns:
- a caching filter
-