public class HSQLTypeInfo extends SQLTypeInfo
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PRECISION
The maximum precision we allow to be reported.
|
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute
Constructor and Description |
---|
HSQLTypeInfo(ResultSet rs)
Constructs a type information object from the current row of the given result set.
|
HSQLTypeInfo(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 static final int MAX_PRECISION
public HSQLTypeInfo(ResultSet rs)
rs
- The result set returned from DatabaseMetaData.getTypeInfo().public HSQLTypeInfo(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.