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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ColumnMapper.ColumnMapperResult
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColumnMapper.ColumnMapperResult
map(ColumnMetaData source, TableMetaData targetTableMetaData)
Return matching columns in target table.String
mapColumnName(ColumnMetaData source, TableMetaData targetTableMetaData)
Map the way column names are used in statements.
-
-
-
Method Detail
-
map
ColumnMapper.ColumnMapperResult map(ColumnMetaData source, TableMetaData targetTableMetaData)
Return matching columns in target table. Must not be NULL.
-
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.
-
-