Top Fields Constructors Methods
com.mysql.cj.xdevapi

public Class ColumnImpl

extends Object
implements Column
Class Inheritance
All Implemented Interfaces
com.mysql.cj.xdevapi.Column
Imports
com.mysql.cj.CharsetMapping, .MysqlType, com.mysql.cj.result.Field

Field Summary

Modifier and TypeField and Description
private Field

Constructor Summary

AccessConstructor and Description
public
ColumnImpl(Field
Field object
f
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public String
getCharacterSetName()

Implements com.mysql.cj.xdevapi.Column.getCharacterSetName.

Get character set name for the column value.

public String
getCollationName()

Implements com.mysql.cj.xdevapi.Column.getCollationName.

Get collation name for the column value.

public String
getColumnLabel()

Implements com.mysql.cj.xdevapi.Column.getColumnLabel.

Get alias of this column.

public String
getColumnName()

Implements com.mysql.cj.xdevapi.Column.getColumnName.

Get name of this column.

public int
getFractionalDigits()

Implements com.mysql.cj.xdevapi.Column.getFractionalDigits.

Get number of fractional digits in this column's value.

public long
getLength()

Implements com.mysql.cj.xdevapi.Column.getLength.

Get this column's length.

public String
public String
public String
public Type
getType()

Implements com.mysql.cj.xdevapi.Column.getType.

Get this column's Type.

public boolean
isAutoIncrement()

Implements com.mysql.cj.xdevapi.Column.isAutoIncrement.

Checks if this is an auto increment column.

public boolean
isNullable()

Implements com.mysql.cj.xdevapi.Column.isNullable.

Checks if column can contain null values.

public boolean
isNumberSigned()

Implements com.mysql.cj.xdevapi.Column.isNumberSigned.

Checks if value represents a signed number.

public boolean
isPadded()

Implements com.mysql.cj.xdevapi.Column.isPadded.

Checks if the value has a padding.

public boolean
isPartKey()

Implements com.mysql.cj.xdevapi.Column.isPartKey.

Checks if this column is a part of key.

public boolean
isPrimaryKey()

Implements com.mysql.cj.xdevapi.Column.isPrimaryKey.

Checks if this is a primary key column.

public boolean
isUniqueKey()

Implements com.mysql.cj.xdevapi.Column.isUniqueKey.

Checks if this is a unique key column.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fieldback to summary
private Field field

Constructor Detail

ColumnImplback to summary
public ColumnImpl(Field f)

Constructor.

Parameters
f:Field

Field object

Method Detail

getCharacterSetNameback to summary
public String getCharacterSetName()

Implements com.mysql.cj.xdevapi.Column.getCharacterSetName.

Doc from com.mysql.cj.xdevapi.Column.getCharacterSetName.

Get character set name for the column value.

Returns:String

character set name

Annotations
@Override
getCollationNameback to summary
public String getCollationName()

Implements com.mysql.cj.xdevapi.Column.getCollationName.

Doc from com.mysql.cj.xdevapi.Column.getCollationName.

Get collation name for the column value.

Returns:String

collation name

Annotations
@Override
getColumnLabelback to summary
public String getColumnLabel()

Implements com.mysql.cj.xdevapi.Column.getColumnLabel.

Doc from com.mysql.cj.xdevapi.Column.getColumnLabel.

Get alias of this column.

Returns:String

column alias

Annotations
@Override
getColumnNameback to summary
public String getColumnName()

Implements com.mysql.cj.xdevapi.Column.getColumnName.

Doc from com.mysql.cj.xdevapi.Column.getColumnName.

Get name of this column.

Returns:String

column name

Annotations
@Override
getFractionalDigitsback to summary
public int getFractionalDigits()

Implements com.mysql.cj.xdevapi.Column.getFractionalDigits.

Doc from com.mysql.cj.xdevapi.Column.getFractionalDigits.

Get number of fractional digits in this column's value.

Returns:int

number of fractional digits

Annotations
@Override
getLengthback to summary
public long getLength()

Implements com.mysql.cj.xdevapi.Column.getLength.

Doc from com.mysql.cj.xdevapi.Column.getLength.

Get this column's length.

Returns:long

column length

Annotations
@Override
getSchemaNameback to summary
public String getSchemaName()

Implements com.mysql.cj.xdevapi.Column.getSchemaName.

Doc from com.mysql.cj.xdevapi.Column.getSchemaName.

Get name of Schema.

Returns:String

schema name

Annotations
@Override
getTableLabelback to summary
public String getTableLabel()

Implements com.mysql.cj.xdevapi.Column.getTableLabel.

Doc from com.mysql.cj.xdevapi.Column.getTableLabel.

Get alias of Table.

Returns:String

table alias

Annotations
@Override
getTableNameback to summary
public String getTableName()

Implements com.mysql.cj.xdevapi.Column.getTableName.

Doc from com.mysql.cj.xdevapi.Column.getTableName.

Get name of Table.

Returns:String

table name

Annotations
@Override
getTypeback to summary
public Type getType()

Implements com.mysql.cj.xdevapi.Column.getType.

Doc from com.mysql.cj.xdevapi.Column.getType.

Get this column's Type.

Returns:Type

column type

Annotations
@Override
isAutoIncrementback to summary
public boolean isAutoIncrement()

Implements com.mysql.cj.xdevapi.Column.isAutoIncrement.

Doc from com.mysql.cj.xdevapi.Column.isAutoIncrement.

Checks if this is an auto increment column.

Returns:boolean

true if column flags contain FIELD_FLAG_AUTO_INCREMENT

Annotations
@Override
isNullableback to summary
public boolean isNullable()

Implements com.mysql.cj.xdevapi.Column.isNullable.

Doc from com.mysql.cj.xdevapi.Column.isNullable.

Checks if column can contain null values.

Returns:boolean

false if column flags contain FIELD_FLAG_NOT_NULL

Annotations
@Override
isNumberSignedback to summary
public boolean isNumberSigned()

Implements com.mysql.cj.xdevapi.Column.isNumberSigned.

Doc from com.mysql.cj.xdevapi.Column.isNumberSigned.

Checks if value represents a signed number.

Returns:boolean

true if value represents a signed number

Annotations
@Override
isPaddedback to summary
public boolean isPadded()

Implements com.mysql.cj.xdevapi.Column.isPadded.

Doc from com.mysql.cj.xdevapi.Column.isPadded.

Checks if the value has a padding.

Returns:boolean

true if column flags contain FIELD_FLAG_ZEROFILL or field type is CHAR

Annotations
@Override
isPartKeyback to summary
public boolean isPartKey()

Implements com.mysql.cj.xdevapi.Column.isPartKey.

Doc from com.mysql.cj.xdevapi.Column.isPartKey.

Checks if this column is a part of key.

Returns:boolean

true if column flags contain FIELD_FLAG_MULTIPLE_KEY

Annotations
@Override
isPrimaryKeyback to summary
public boolean isPrimaryKey()

Implements com.mysql.cj.xdevapi.Column.isPrimaryKey.

Doc from com.mysql.cj.xdevapi.Column.isPrimaryKey.

Checks if this is a primary key column.

Returns:boolean

true if column flags contain FIELD_FLAG_PRIMARY_KEY

Annotations
@Override
isUniqueKeyback to summary
public boolean isUniqueKey()

Implements com.mysql.cj.xdevapi.Column.isUniqueKey.

Doc from com.mysql.cj.xdevapi.Column.isUniqueKey.

Checks if this is a unique key column.

Returns:boolean

true if column flags contain FIELD_FLAG_UNIQUE_KEY

Annotations
@Override