Package io.debezium.relational
Interface Tables.TableFilter
- All Superinterfaces:
DataCollectionFilters.DataCollectionFilter<TableId>
- 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.TableFilter
fromPredicate
(Predicate<TableId> predicate) Creates aTables.TableFilter
from the given predicate.static Tables.TableFilter
Creates aTables.TableFilter
that includes all tables.boolean
isIncluded
(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:
isIncluded
in interfaceDataCollectionFilters.DataCollectionFilter<TableId>
-
fromPredicate
Creates aTables.TableFilter
from the given predicate. -
includeAll
Creates aTables.TableFilter
that includes all tables.
-