Interface ColumnInformation
-
- All Superinterfaces:
ColumnTypeInformation
- All Known Implementing Classes:
ColumnInformationImpl
public interface ColumnInformation extends ColumnTypeInformation
Provides access to information about existing table columns
-
-
Field Summary
-
Fields inherited from interface org.hibernate.tool.schema.extract.spi.ColumnTypeInformation
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentifiergetColumnIdentifier()The simple (not qualified) column name.intgetColumnSize()The column size (length).TableInformationgetContainingTableInformation()Access to the containing table.intgetDecimalDigits()The precision, for numeric typesTruthValuegetNullable()Is the column nullable.intgetTypeCode()The JDBC type-code.StringgetTypeName()The database specific type name.
-
-
-
Method Detail
-
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:
getNullablein interfaceColumnTypeInformation- Returns:
- nullability.
-
getTypeCode
int getTypeCode()
The JDBC type-code.- Specified by:
getTypeCodein interfaceColumnTypeInformation- Returns:
- JDBC type-code
-
getTypeName
String getTypeName()
The database specific type name.- Specified by:
getTypeNamein interfaceColumnTypeInformation- Returns:
- Type name
-
getColumnSize
int getColumnSize()
The column size (length).- Specified by:
getColumnSizein interfaceColumnTypeInformation- Returns:
- The column length
-
getDecimalDigits
int getDecimalDigits()
The precision, for numeric types- Specified by:
getDecimalDigitsin interfaceColumnTypeInformation- Returns:
- The numeric precision
-
-