| Modifier and Type | Field and Description |
|---|---|
private Predicate<String> |
dbExclusions |
private Predicate<String> |
dbInclusions |
private Predicate<String> |
schemaExclusions |
private Predicate<String> |
schemaInclusions |
private Predicate<TableId> |
tableExclusions |
private Predicate<TableId> |
tableInclusions |
| Constructor and Description |
|---|
TableSelectionPredicateBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<TableId> |
build()
|
private Predicate<TableId> |
buildStartingFromDbFilter(Predicate<String> dbFilter,
Predicate<String> schemaFilter,
Predicate<TableId> tableFilter) |
private Predicate<TableId> |
buildStartingFromSchemaFilter(Predicate<String> schemaFilter,
Predicate<TableId> tableFilter) |
Selectors.TableSelectionPredicateBuilder |
excludeDatabases(String databaseNames)
Specify the names of the databases that should be excluded.
|
Selectors.TableSelectionPredicateBuilder |
excludeSchemas(String schemaNames)
Specify the names of the schemas that should be excluded.
|
Selectors.TableSelectionPredicateBuilder |
excludeTables(String fullyQualifiedTableNames)
Specify the names of the tables that should be excluded.
|
Selectors.TableSelectionPredicateBuilder |
excludeTables(String fullyQualifiedTableNames,
Selectors.TableIdToStringMapper tableIdMapper)
Specify the names of the tables that should be excluded.
|
Selectors.TableSelectionPredicateBuilder |
includeDatabases(String databaseNames)
Specify the names of the databases that should be included.
|
Selectors.TableSelectionPredicateBuilder |
includeSchemas(String schemaNames)
Specify the names of the schemas that should be included.
|
Selectors.TableSelectionPredicateBuilder |
includeTables(String fullyQualifiedTableNames)
Specify the names of the tables that should be included.
|
Selectors.TableSelectionPredicateBuilder |
includeTables(String fullyQualifiedTableNames,
Selectors.TableIdToStringMapper tableIdMapper)
Specify the names of the tables that should be included.
|
public Selectors.TableSelectionPredicateBuilder includeDatabases(String databaseNames)
excluded databases.databaseNames - the comma-separated list of database names to include; may be null or emptypublic Selectors.TableSelectionPredicateBuilder excludeDatabases(String databaseNames)
excluded databases, although including databases overrides
exclusions.databaseNames - the comma-separated list of database names to exclude; may be null or emptypublic Selectors.TableSelectionPredicateBuilder includeSchemas(String schemaNames)
excluded schemas.schemaNames - the comma-separated list of schema names to include; may be null or emptypublic Selectors.TableSelectionPredicateBuilder excludeSchemas(String schemaNames)
excluded schemas, although includeSchemas(String) including schemas} overrides
exclusions.schemaNames - the comma-separated list of schema names to exclude; may be null or emptypublic Selectors.TableSelectionPredicateBuilder includeTables(String fullyQualifiedTableNames, Selectors.TableIdToStringMapper tableIdMapper)
excluded table names.
Note that any specified tables that are in an excluded database will not be included.
fullyQualifiedTableNames - the comma-separated list of fully-qualified table names to include; may be null or
emptytableIdMapper - an arbitrary converter used to convert TableId into String for pattern matching.
Usually used to remove a component from tableId to simplify patterns.public Selectors.TableSelectionPredicateBuilder includeTables(String fullyQualifiedTableNames)
excluded table names.
Note that any specified tables that are in an excluded database will not be included.
fullyQualifiedTableNames - the comma-separated list of fully-qualified table names to include; may be null or
emptypublic Selectors.TableSelectionPredicateBuilder excludeTables(String fullyQualifiedTableNames, Selectors.TableIdToStringMapper tableIdMapper)
excluded tables, although including tables overrides
exclusions.
Note that any specified tables that are in an excluded database will not be included.
fullyQualifiedTableNames - the comma-separated list of fully-qualified table names to exclude; may be null or
emptytableIdMapper - an arbitrary converter used to convert TableId into String for pattern matching.
Usually used to remove a component from tableId to simplify patterns.public Selectors.TableSelectionPredicateBuilder excludeTables(String fullyQualifiedTableNames)
excluded tables, although including tables overrides
exclusions.
Note that any specified tables that are in an excluded database will not be included.
fullyQualifiedTableNames - the comma-separated list of fully-qualified table names to exclude; may be null or
emptypublic Predicate<TableId> build()
Predicate that determines whether a table identified by a given TableId is to be included.includeDatabases(String),
excludeDatabases(String),
includeTables(String),
excludeTables(String),
includeSchemas(String),
excludeSchemas(String)private Predicate<TableId> buildStartingFromSchemaFilter(Predicate<String> schemaFilter, Predicate<TableId> tableFilter)
Copyright © 2021 JBoss by Red Hat. All rights reserved.