Interface ColumnDataMapperProvider
-
- All Known Implementing Classes:
DefaultColumnDataMapperProvider
public interface ColumnDataMapperProvider
Used to find mappings for column data. E.g., when converting a number to a String or casting a LONG to a BIGINT.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMapping(ColumnType sourceColumnType, ColumnType targetColumnType, ColumnDataMapper columnDataMapper)
Specify additional mappingColumnDataMapper
findMapping(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData, ColumnType sourceColumnType, ColumnType targetColumnType)
Find mapping the given configuration.
-
-
-
Method Detail
-
findMapping
ColumnDataMapper findMapping(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData, ColumnType sourceColumnType, ColumnType targetColumnType)
Find mapping the given configuration.- Parameters:
sourceColumnMetaData
- source columntargetColumnMetaData
- target columnsourceColumnType
- as determined byColumnTypeResolver
targetColumnType
- as determined byColumnTypeResolver
-
addMapping
void addMapping(ColumnType sourceColumnType, ColumnType targetColumnType, ColumnDataMapper columnDataMapper)
Specify additional mapping
-
-