Interface ColumnTypeInformation
- All Known Subinterfaces:
ColumnInformation
- All Known Implementing Classes:
AggregateColumn
,Column
,ColumnInformationImpl
Provides access to information about existing table columns
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
The column size (length).int
The precision, for numeric typesIs the column nullable?int
The JDBC type-code.The database specific type name.
-
Field Details
-
EMPTY
-
-
Method Details
-
getNullable
Boolean getNullable()Is the column nullable?The database is allowed to report unknown, hence the use of
Boolean
.- Returns:
- nullability, if known
-
getTypeCode
int getTypeCode()The JDBC type-code.- Returns:
- JDBC type-code
-
getTypeName
String getTypeName()The database specific type name.- Returns:
- Type name
-
getColumnSize
int getColumnSize()The column size (length).- Returns:
- The column length
-
getDecimalDigits
int getDecimalDigits()The precision, for numeric types- Returns:
- The numeric precision
-