java.lang.Object
org.odpi.openmetadata.adapters.connectors.integration.jdbc.transfer.customization.TransferCustomizations

public class TransferCustomizations extends Object
TransferCustomizations manages the settings of the configuration properties that select which elements of database metadata should be catalogued.
  • Field Details

    • INCLUDE_SCHEMA_NAMES

      public static final String INCLUDE_SCHEMA_NAMES
    • EXCLUDE_SCHEMA_NAMES

      public static final String EXCLUDE_SCHEMA_NAMES
    • INCLUDE_TABLE_NAMES

      public static final String INCLUDE_TABLE_NAMES
    • EXCLUDE_TABLE_NAMES

      public static final String EXCLUDE_TABLE_NAMES
    • INCLUDE_VIEW_NAMES

      public static final String INCLUDE_VIEW_NAMES
    • EXCLUDE_VIEW_NAMES

      public static final String EXCLUDE_VIEW_NAMES
    • INCLUDE_COLUMN_NAMES

      public static final String INCLUDE_COLUMN_NAMES
    • EXCLUDE_COLUMN_NAMES

      public static final String EXCLUDE_COLUMN_NAMES
    • INCLUSION_AND_EXCLUSION_NAMES

      public static final List<String> INCLUSION_AND_EXCLUSION_NAMES
  • Constructor Details

    • TransferCustomizations

      public TransferCustomizations(Map<String,Object> configurationProperties)
      Extract the customizations from the configuration properties.
      Parameters:
      configurationProperties - map of special configuration property from the open metadata connection
  • Method Details

    • shouldTransferSchema

      public boolean shouldTransferSchema(String schemaName)
      Determines if schema should be transferred
      Parameters:
      schemaName - the schema name
      Returns:
      the boolean
    • shouldTransferTable

      public boolean shouldTransferTable(String tableName)
      Determines if table should be transferred
      Parameters:
      tableName - the table name
      Returns:
      the boolean
    • shouldTransferView

      public boolean shouldTransferView(String viewName)
      Determines if view should be transferred
      Parameters:
      viewName - the view name
      Returns:
      the boolean
    • shouldTransferColumn

      public boolean shouldTransferColumn(String columnName)
      Determines if column should be transferred
      Parameters:
      columnName - the column name
      Returns:
      the boolean
    • getExcludedSchemas

      public String getExcludedSchemas()
      Gets excluded schemas, only if took into consideration (inclusion is not present).
      Returns:
      the excluded schemas
    • getExcludedTables

      public String getExcludedTables()
      Gets excluded tables, only if took into consideration (inclusion is not present).
      Returns:
      the excluded tables
    • getExcludedViews

      public String getExcludedViews()
      Gets excluded view, only if took into consideration (inclusion is not present).
      Returns:
      the excluded views
    • getExcludedColumns

      public String getExcludedColumns()
      Gets excluded columns, only if took into consideration (inclusion is not present).
      Returns:
      the excluded columns