类 ColumnInformationImpl
- java.lang.Object
-
- org.hibernate.tool.schema.extract.internal.ColumnInformationImpl
-
- 所有已实现的接口:
ColumnInformation
public class ColumnInformationImpl extends Object implements ColumnInformation
JDBC column metadata- 作者:
- Christoph Sturm, Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ColumnInformationImpl(TableInformation containingTableInformation, Identifier columnIdentifier, int typeCode, String typeName, int columnSize, int decimalDigits, TruthValue nullable)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.StringtoString()
-
-
-
构造器详细资料
-
ColumnInformationImpl
public ColumnInformationImpl(TableInformation containingTableInformation, Identifier columnIdentifier, int typeCode, String typeName, int columnSize, int decimalDigits, TruthValue nullable)
-
-
方法详细资料
-
getContainingTableInformation
public TableInformation getContainingTableInformation()
从接口复制的说明:ColumnInformationAccess to the containing table.- 指定者:
getContainingTableInformation在接口中ColumnInformation- 返回:
- The containing table information
-
getColumnIdentifier
public Identifier getColumnIdentifier()
从接口复制的说明:ColumnInformationThe simple (not qualified) column name.- 指定者:
getColumnIdentifier在接口中ColumnInformation- 返回:
- The column simple identifier.
-
getTypeCode
public int getTypeCode()
从接口复制的说明:ColumnInformationThe JDBC type-code.- 指定者:
getTypeCode在接口中ColumnInformation- 返回:
- JDBC type-code
-
getTypeName
public String getTypeName()
从接口复制的说明:ColumnInformationThe database specific type name.- 指定者:
getTypeName在接口中ColumnInformation- 返回:
- Type name
-
getColumnSize
public int getColumnSize()
从接口复制的说明:ColumnInformationThe column size (length).- 指定者:
getColumnSize在接口中ColumnInformation- 返回:
- The column length
-
getDecimalDigits
public int getDecimalDigits()
从接口复制的说明:ColumnInformationThe precision, for numeric types- 指定者:
getDecimalDigits在接口中ColumnInformation- 返回:
- The numeric precision
-
getNullable
public TruthValue getNullable()
从接口复制的说明:ColumnInformationIs the column nullable. The database is allowed to report unknown, hence the use of TruthValue- 指定者:
getNullable在接口中ColumnInformation- 返回:
- nullability.
-
-