Interface ColumnMapper

  • All Known Implementing Classes:
    DefaultColumnMapper, DroppingColumnMapper

    public interface ColumnMapper
    Select target column(s) for given source column. Usually, this will a 1:1 relationship. However, there may be situations where you want to duplicate or transform data into multiple columns. You also may want to drop columns from the source database.

    © 2012-2034 akquinet tech@spree

    Author:
    M. Dahm
    • Method Detail

      • mapColumnName

        String mapColumnName​(ColumnMetaData source,
                             TableMetaData targetTableMetaData)
        Map the way column names are used in statements. Usually you won't need that, but sometimes you want to map the names, e.g. to add `name` backticks, in order to escape special characters such as white space.