Interface ColumnTypeInformation
-
- All Known Subinterfaces:
ColumnInformation
- All Known Implementing Classes:
AggregateColumn
,Column
,ColumnInformationImpl
,ExportableColumn
@Incubating public interface ColumnTypeInformation
Provides access to information about existing table columns
-
-
Field Summary
Fields Modifier and Type Field Description static ColumnTypeInformation
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getColumnSize()
The column size (length).int
getDecimalDigits()
The precision, for numeric typesTruthValue
getNullable()
Is the column nullable.int
getTypeCode()
The JDBC type-code.String
getTypeName()
The database specific type name.
-
-
-
Field Detail
-
EMPTY
static final ColumnTypeInformation EMPTY
-
-
Method Detail
-
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
-
-