Class TransferCustomizations
java.lang.Object
org.odpi.openmetadata.adapters.connectors.integration.jdbc.transfer.customization.TransferCustomizations
TransferCustomizations manages the settings of the configuration properties that select which
elements of database metadata should be catalogued.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTransferCustomizations
(Map<String, Object> configurationProperties) Extract the customizations from the configuration properties. -
Method Summary
Modifier and TypeMethodDescriptionGets excluded columns, only if took into consideration (inclusion is not present).Gets excluded schemas, only if took into consideration (inclusion is not present).Gets excluded tables, only if took into consideration (inclusion is not present).Gets excluded view, only if took into consideration (inclusion is not present).boolean
shouldTransferColumn
(String columnName) Determines if column should be transferredboolean
shouldTransferSchema
(String schemaName) Determines if schema should be transferredboolean
shouldTransferTable
(String tableName) Determines if table should be transferredboolean
shouldTransferView
(String viewName) Determines if view should be transferred
-
Field Details
-
INCLUDE_SCHEMA_NAMES
-
EXCLUDE_SCHEMA_NAMES
-
INCLUDE_TABLE_NAMES
-
EXCLUDE_TABLE_NAMES
-
INCLUDE_VIEW_NAMES
-
EXCLUDE_VIEW_NAMES
-
INCLUDE_COLUMN_NAMES
-
EXCLUDE_COLUMN_NAMES
-
INCLUSION_AND_EXCLUSION_NAMES
-
-
Constructor Details
-
TransferCustomizations
Extract the customizations from the configuration properties.- Parameters:
configurationProperties
- map of special configuration property from the open metadata connection
-
-
Method Details
-
shouldTransferSchema
Determines if schema should be transferred- Parameters:
schemaName
- the schema name- Returns:
- the boolean
-
shouldTransferTable
Determines if table should be transferred- Parameters:
tableName
- the table name- Returns:
- the boolean
-
shouldTransferView
Determines if view should be transferred- Parameters:
viewName
- the view name- Returns:
- the boolean
-
shouldTransferColumn
Determines if column should be transferred- Parameters:
columnName
- the column name- Returns:
- the boolean
-
getExcludedSchemas
Gets excluded schemas, only if took into consideration (inclusion is not present).- Returns:
- the excluded schemas
-
getExcludedTables
Gets excluded tables, only if took into consideration (inclusion is not present).- Returns:
- the excluded tables
-
getExcludedViews
Gets excluded view, only if took into consideration (inclusion is not present).- Returns:
- the excluded views
-
getExcludedColumns
Gets excluded columns, only if took into consideration (inclusion is not present).- Returns:
- the excluded columns
-