类 ColumnImpl
- java.lang.Object
-
- com.mysql.cj.xdevapi.ColumnImpl
-
-
构造器概要
构造器 构造器 说明 ColumnImpl(Field f)Constructor.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCharacterSetName()Get character set name for the column value.StringgetCollationName()Get collation name for the column value.StringgetColumnLabel()Get alias of this column.StringgetColumnName()Get name of this column.intgetFractionalDigits()Get number of fractional digits in this column's value.longgetLength()Get this column's length.StringgetSchemaName()Get name ofSchema.StringgetTableLabel()Get alias ofTable.StringgetTableName()Get name ofTable.TypegetType()Get this column'sType.booleanisAutoIncrement()Checks if this is an auto increment column.booleanisNullable()Checks if column can contain null values.booleanisNumberSigned()Checks if value represents a signed number.booleanisPadded()Checks if the value has a padding.booleanisPartKey()Checks if this column is a part of key.booleanisPrimaryKey()Checks if this is a primary key column.booleanisUniqueKey()Checks if this is a unique key column.
-
-
-
方法详细资料
-
getSchemaName
public String getSchemaName()
从接口复制的说明:ColumnGet name ofSchema.- 指定者:
getSchemaName在接口中Column- 返回:
- schema name
-
getTableName
public String getTableName()
从接口复制的说明:ColumnGet name ofTable.- 指定者:
getTableName在接口中Column- 返回:
- table name
-
getTableLabel
public String getTableLabel()
从接口复制的说明:ColumnGet alias ofTable.- 指定者:
getTableLabel在接口中Column- 返回:
- table alias
-
getColumnName
public String getColumnName()
从接口复制的说明:ColumnGet name of this column.- 指定者:
getColumnName在接口中Column- 返回:
- column name
-
getColumnLabel
public String getColumnLabel()
从接口复制的说明:ColumnGet alias of this column.- 指定者:
getColumnLabel在接口中Column- 返回:
- column alias
-
getLength
public long getLength()
从接口复制的说明:ColumnGet this column's length.
-
getFractionalDigits
public int getFractionalDigits()
从接口复制的说明:ColumnGet number of fractional digits in this column's value.- 指定者:
getFractionalDigits在接口中Column- 返回:
- number of fractional digits
-
isNumberSigned
public boolean isNumberSigned()
从接口复制的说明:ColumnChecks if value represents a signed number.- 指定者:
isNumberSigned在接口中Column- 返回:
- true if value represents a signed number
-
getCollationName
public String getCollationName()
从接口复制的说明:ColumnGet collation name for the column value.- 指定者:
getCollationName在接口中Column- 返回:
- collation name
-
getCharacterSetName
public String getCharacterSetName()
从接口复制的说明:ColumnGet character set name for the column value.- 指定者:
getCharacterSetName在接口中Column- 返回:
- character set name
-
isPadded
public boolean isPadded()
从接口复制的说明:ColumnChecks if the value has a padding.
-
isNullable
public boolean isNullable()
从接口复制的说明:ColumnChecks if column can contain null values.- 指定者:
isNullable在接口中Column- 返回:
- false if column flags contain FIELD_FLAG_NOT_NULL
-
isAutoIncrement
public boolean isAutoIncrement()
从接口复制的说明:ColumnChecks if this is an auto increment column.- 指定者:
isAutoIncrement在接口中Column- 返回:
- true if column flags contain FIELD_FLAG_AUTO_INCREMENT
-
isPrimaryKey
public boolean isPrimaryKey()
从接口复制的说明:ColumnChecks if this is a primary key column.- 指定者:
isPrimaryKey在接口中Column- 返回:
- true if column flags contain FIELD_FLAG_PRIMARY_KEY
-
isUniqueKey
public boolean isUniqueKey()
从接口复制的说明:ColumnChecks if this is a unique key column.- 指定者:
isUniqueKey在接口中Column- 返回:
- true if column flags contain FIELD_FLAG_UNIQUE_KEY
-
-