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 Identifier
getColumnIdentifier()
The simple (not qualified) column name.int
getColumnSize()
The column size (length).TableInformation
getContainingTableInformation()
Access to the containing table.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.
-
-
-
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:
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
-
-