Interface ColumnTypeInformation
- All Known Subinterfaces:
ColumnInformation
- All Known Implementing Classes:
AggregateColumn,Column,ColumnInformationImpl,ExportableColumn
Provides access to information about existing table columns
- Author:
- Christoph Sturm, Steve Ebersole
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintThe column size (length).intThe precision, for numeric typesIs the column nullable.intThe JDBC type-code.The database specific type name.
-
Field Details
-
EMPTY
-
-
Method Details
-
getNullable
TruthValue getNullable()Is the column nullable. The database is allowed to report unknown, hence the use of TruthValue- Returns:
- nullability.
-
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
-