public interface IDataTypeFactory
DataType
.Modifier and Type | Method and Description |
---|---|
DataType |
createDataType(int sqlType,
String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types . |
DataType |
createDataType(int sqlType,
String sqlTypeName,
String tableName,
String columnName)
Returns the DataType object that corresponds to the specified
Types and regards the given tableName and columnName. |
DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
Types
.sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type nameDataTypeException
DataType createDataType(int sqlType, String sqlTypeName, String tableName, String columnName) throws DataTypeException
Types
and regards the given tableName and columnName.
When a ToleratedDeltaMap.ToleratedDelta
has been set
for a tableName.columnName set then this method automatically creates the correct
datatype that honours the tolerance value in the assertion.sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type nametableName
- The database table for which the type is createdcolumnName
- The database column in the given table for which the type is createdDataTypeException
Copyright © 2002–2015. All rights reserved.