Class CommonColumnTypeResolverTool
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.tools.CommonColumnTypeResolverTool
-
public class CommonColumnTypeResolverTool extends Object
Try to find common type mapping usable for both columns.© 2012-2034 akquinet tech@spree
Hint is used by
ColumnDataMapperProviderHint
to determine mapping between different column types Hint is used byColumnTypeResolverListHint
to determine mapping strategies between different column types- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description CommonColumnTypeResolverTool(ConnectorRepository connectorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnType
getColumnType(String connectorId, ColumnMetaData columnMetaData)
ColumnTypeMapping
getCommonColumnTypeMapping(ColumnMetaData sourceColumnMetaData, String targetConnectorId, ColumnMetaData targetColumnMetaData)
Returns column type usable for both columns or null if none can be found.
-
-
-
Constructor Detail
-
CommonColumnTypeResolverTool
public CommonColumnTypeResolverTool(ConnectorRepository connectorRepository)
-
-
Method Detail
-
getCommonColumnTypeMapping
public ColumnTypeMapping getCommonColumnTypeMapping(ColumnMetaData sourceColumnMetaData, String targetConnectorId, ColumnMetaData targetColumnMetaData)
Returns column type usable for both columns or null if none can be found.
-
getColumnType
public ColumnType getColumnType(String connectorId, ColumnMetaData columnMetaData)
-
-