类 ColumnImpl

  • 所有已实现的接口:
    Column

    public class ColumnImpl
    extends Object
    implements Column
    • 构造器详细资料

      • ColumnImpl

        public ColumnImpl​(Field f)
        Constructor.
        参数:
        f - Field object
    • 方法详细资料

      • getColumnName

        public String getColumnName()
        从接口复制的说明: Column
        Get name of this column.
        指定者:
        getColumnName 在接口中 Column
        返回:
        column name
      • getColumnLabel

        public String getColumnLabel()
        从接口复制的说明: Column
        Get alias of this column.
        指定者:
        getColumnLabel 在接口中 Column
        返回:
        column alias
      • getType

        public Type getType()
        从接口复制的说明: Column
        Get this column's Type.
        指定者:
        getType 在接口中 Column
        返回:
        column type
      • getLength

        public long getLength()
        从接口复制的说明: Column
        Get this column's length.
        指定者:
        getLength 在接口中 Column
        返回:
        column length
      • getFractionalDigits

        public int getFractionalDigits()
        从接口复制的说明: Column
        Get number of fractional digits in this column's value.
        指定者:
        getFractionalDigits 在接口中 Column
        返回:
        number of fractional digits
      • isNumberSigned

        public boolean isNumberSigned()
        从接口复制的说明: Column
        Checks if value represents a signed number.
        指定者:
        isNumberSigned 在接口中 Column
        返回:
        true if value represents a signed number
      • getCollationName

        public String getCollationName()
        从接口复制的说明: Column
        Get collation name for the column value.
        指定者:
        getCollationName 在接口中 Column
        返回:
        collation name
      • getCharacterSetName

        public String getCharacterSetName()
        从接口复制的说明: Column
        Get character set name for the column value.
        指定者:
        getCharacterSetName 在接口中 Column
        返回:
        character set name
      • isPadded

        public boolean isPadded()
        从接口复制的说明: Column
        Checks if the value has a padding.
        指定者:
        isPadded 在接口中 Column
        返回:
        true if column flags contain FIELD_FLAG_ZEROFILL or field type is CHAR
      • isNullable

        public boolean isNullable()
        从接口复制的说明: Column
        Checks if column can contain null values.
        指定者:
        isNullable 在接口中 Column
        返回:
        false if column flags contain FIELD_FLAG_NOT_NULL
      • isAutoIncrement

        public boolean isAutoIncrement()
        从接口复制的说明: Column
        Checks if this is an auto increment column.
        指定者:
        isAutoIncrement 在接口中 Column
        返回:
        true if column flags contain FIELD_FLAG_AUTO_INCREMENT
      • isPrimaryKey

        public boolean isPrimaryKey()
        从接口复制的说明: Column
        Checks if this is a primary key column.
        指定者:
        isPrimaryKey 在接口中 Column
        返回:
        true if column flags contain FIELD_FLAG_PRIMARY_KEY
      • isUniqueKey

        public boolean isUniqueKey()
        从接口复制的说明: Column
        Checks if this is a unique key column.
        指定者:
        isUniqueKey 在接口中 Column
        返回:
        true if column flags contain FIELD_FLAG_UNIQUE_KEY
      • isPartKey

        public boolean isPartKey()
        从接口复制的说明: Column
        Checks if this column is a part of key.
        指定者:
        isPartKey 在接口中 Column
        返回:
        true if column flags contain FIELD_FLAG_MULTIPLE_KEY