-
- All Implemented Interfaces:
public final class TypeInfoWrapper for results of getTypeInfo
Note that per the documentation SQL_DATA_TYPE, and SQL_DATETIME_SUB are unused and have been left out of this class
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final JDBCTypedataTypeprivate final Integerprecisionprivate final StringliteralPrefixprivate final StringliteralSuffixprivate final StringcreateParamsprivate final TypeNullablenullableprivate final BooleancaseSensitiveprivate final TypeSearchablesearchableprivate final BooleanisUnsignedprivate final BooleanfixedPrecisionScaleprivate final BooleanautoIncrementprivate final StringlocalTypeNameprivate final IntegerminimumScaleprivate final IntegermaximumScaleprivate final Integerradix
-
Method Summary
Modifier and Type Method Description final StringgetName()NameSource column: TYPE_NAME final JDBCTypegetDataType()SQL type, converted to JDBCTypeSource column: DATA_TYPE final IntegergetPrecision()PrecisionSource column: PRECISION final StringgetLiteralPrefix()Literal prefixSource column: LITERAL_PREFIX final StringgetLiteralSuffix()Literal suffixSource column: LITERAL_SUFFIX final StringgetCreateParams()Create paramsSource column: CREATE_PARAMS final TypeNullablegetNullable()Nullable, converted to TypeNullableSource column: NULLABLE final BooleangetCaseSensitive()Case sensitiveSource column: CASE_SENSITIVE final TypeSearchablegetSearchable()Searchable, converted to TypeSearchableSource column: SEARCHABLE final BooleanisUnsigned()Is unsignedSource column: UNSIGNED_ATTRIBUTE final BooleangetFixedPrecisionScale()Fixed precision scaleSource column: FIXED_PREC_SCALE final BooleangetAutoIncrement()Auto incrementSource column: AUTO_INCREMENT final StringgetLocalTypeName()Local type nameSource column: LOCAL_TYPE_NAME final IntegergetMinimumScale()Minimum scaleSource column: MINIMUM_SCALE final IntegergetMaximumScale()Maximum scaleSource column: MAXIMUM_SCALE final IntegergetRadix()Numeric precision radixSource column: NUM_PREC_RADIX Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
TypeInfo
TypeInfo(ResultSet rs)
-
-
Method Detail
-
getDataType
final JDBCType getDataType()
SQL type, converted to JDBCType
Source column: DATA_TYPE
-
getPrecision
final Integer getPrecision()
Precision
Source column: PRECISION
-
getLiteralPrefix
final String getLiteralPrefix()
Literal prefix
Source column: LITERAL_PREFIX
-
getLiteralSuffix
final String getLiteralSuffix()
Literal suffix
Source column: LITERAL_SUFFIX
-
getCreateParams
final String getCreateParams()
Create params
Source column: CREATE_PARAMS
-
getNullable
final TypeNullable getNullable()
Nullable, converted to TypeNullable
Source column: NULLABLE
-
getCaseSensitive
final Boolean getCaseSensitive()
Case sensitive
Source column: CASE_SENSITIVE
-
getSearchable
final TypeSearchable getSearchable()
Searchable, converted to TypeSearchable
Source column: SEARCHABLE
-
isUnsigned
final Boolean isUnsigned()
Is unsigned
Source column: UNSIGNED_ATTRIBUTE
-
getFixedPrecisionScale
final Boolean getFixedPrecisionScale()
Fixed precision scale
Source column: FIXED_PREC_SCALE
-
getAutoIncrement
final Boolean getAutoIncrement()
Auto increment
Source column: AUTO_INCREMENT
-
getLocalTypeName
final String getLocalTypeName()
Local type name
Source column: LOCAL_TYPE_NAME
-
getMinimumScale
final Integer getMinimumScale()
Minimum scale
Source column: MINIMUM_SCALE
-
getMaximumScale
final Integer getMaximumScale()
Maximum scale
Source column: MAXIMUM_SCALE
-
-
-
-