Interface ColumnTypeInformation
-
- All Known Subinterfaces:
ColumnInformation
- All Known Implementing Classes:
Column,ExportableColumn
public interface ColumnTypeInformationProvides access to information about existing table columns
-
-
Field Summary
Fields Modifier and Type Field Description static ColumnTypeInformationEMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnSize()The column size (length).intgetDecimalDigits()The precision, for numeric typesTruthValuegetNullable()Is the column nullable.intgetTypeCode()The JDBC type-code.StringgetTypeName()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
-
-