public class H2TypeInfo extends SQLTypeInfo
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute
Constructor and Description |
---|
H2TypeInfo(ResultSet rs)
Constructs a type information object from the current row of the given result set.
|
H2TypeInfo(String typeName,
short dataType,
int precision,
String literalPrefix,
String literalSuffix,
String createParams,
int nullable,
boolean caseSensitive,
short searchable,
boolean unsignedAttribute,
boolean fixedPrecScale,
boolean autoIncrement,
String localTypeName,
short minimumScale,
short maximumScale,
int numPrecRadix) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(RDBMSColumnInfo colInfo)
Utility to check the compatibility of this type with the supplied Column type.
|
addProperty, equals, getCreateParams, getDataType, getLiteralPrefix, getLiteralSuffix, getLocalTypeName, getMaximumScale, getMinimumScale, getNullable, getNumPrecRadix, getPrecision, getProperty, getSearchable, getTypeName, hashCode, isAllowsPrecisionSpec, isAutoIncrement, isCaseSensitive, isFixedPrecScale, isUnsignedAttribute, setAllowsPrecisionSpec, setLocalTypeName, setTypeName, toString, toString
public H2TypeInfo(ResultSet rs)
rs
- The result set returned from DatabaseMetaData.getTypeInfo().public H2TypeInfo(String typeName, short dataType, int precision, String literalPrefix, String literalSuffix, String createParams, int nullable, boolean caseSensitive, short searchable, boolean unsignedAttribute, boolean fixedPrecScale, boolean autoIncrement, String localTypeName, short minimumScale, short maximumScale, int numPrecRadix)
public boolean isCompatibleWith(RDBMSColumnInfo colInfo)
isCompatibleWith
in class SQLTypeInfo
colInfo
- The Column typeCopyright © 2020. All rights reserved.