public class PostgresqlTypeInfo 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 |
|---|
PostgresqlTypeInfo(ResultSet rs)
Constructs a type information object from the current row of the given result set.
|
PostgresqlTypeInfo(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, toStringpublic static final int MAX_PRECISION
public PostgresqlTypeInfo(ResultSet rs)
rs - The result set returned from DatabaseMetaData.getTypeInfo().public PostgresqlTypeInfo(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 SQLTypeInfocolInfo - The Column typeCopyright © 2016. All rights reserved.