Interface ColumnInformation
- All Superinterfaces:
ColumnTypeInformation
- All Known Implementing Classes:
ColumnInformationImpl
Provides access to information about existing table columns
-
Field Summary
Fields inherited from interface org.hibernate.tool.schema.extract.spi.ColumnTypeInformation
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptionThe simple (not qualified) column name.int
The column size (length).Access to the containing table.int
The precision, for numeric typesIs the column nullable.int
The JDBC type-code.The database specific type name.
-
Method Details
-
getContainingTableInformation
TableInformation getContainingTableInformation()Access to the containing table.- Returns:
- The containing table information
-
getColumnIdentifier
Identifier getColumnIdentifier()The simple (not qualified) column name.- Returns:
- The column simple identifier.
-
getNullable
TruthValue getNullable()Is the column nullable. The database is allowed to report unknown, hence the use of TruthValue- Specified by:
getNullable
in interfaceColumnTypeInformation
- Returns:
- nullability.
-
getTypeCode
int getTypeCode()The JDBC type-code.- Specified by:
getTypeCode
in interfaceColumnTypeInformation
- Returns:
- JDBC type-code
-
getTypeName
String getTypeName()The database specific type name.- Specified by:
getTypeName
in interfaceColumnTypeInformation
- Returns:
- Type name
-
getColumnSize
int getColumnSize()The column size (length).- Specified by:
getColumnSize
in interfaceColumnTypeInformation
- Returns:
- The column length
-
getDecimalDigits
int getDecimalDigits()The precision, for numeric types- Specified by:
getDecimalDigits
in interfaceColumnTypeInformation
- Returns:
- The numeric precision
-