接口 Column

  • 所有已知实现类:
    ColumnImpl

    public interface Column
    Represents individual column of RowResult
    • 方法详细资料

      • getSchemaName

        String getSchemaName()
        Get name of Schema.
        返回:
        schema name
      • getTableName

        String getTableName()
        Get name of Table.
        返回:
        table name
      • getTableLabel

        String getTableLabel()
        Get alias of Table.
        返回:
        table alias
      • getColumnName

        String getColumnName()
        Get name of this column.
        返回:
        column name
      • getColumnLabel

        String getColumnLabel()
        Get alias of this column.
        返回:
        column alias
      • getType

        Type getType()
        Get this column's Type.
        返回:
        column type
      • getLength

        long getLength()
        Get this column's length.
        返回:
        column length
      • getFractionalDigits

        int getFractionalDigits()
        Get number of fractional digits in this column's value.
        返回:
        number of fractional digits
      • isNumberSigned

        boolean isNumberSigned()
        Checks if value represents a signed number.
        返回:
        true if value represents a signed number
      • getCollationName

        String getCollationName()
        Get collation name for the column value.
        返回:
        collation name
      • getCharacterSetName

        String getCharacterSetName()
        Get character set name for the column value.
        返回:
        character set name
      • isPadded

        boolean isPadded()
        Checks if the value has a padding.
        返回:
        true if column flags contain FIELD_FLAG_ZEROFILL or field type is CHAR
      • isNullable

        boolean isNullable()
        Checks if column can contain null values.
        返回:
        false if column flags contain FIELD_FLAG_NOT_NULL
      • isAutoIncrement

        boolean isAutoIncrement()
        Checks if this is an auto increment column.
        返回:
        true if column flags contain FIELD_FLAG_AUTO_INCREMENT
      • isPrimaryKey

        boolean isPrimaryKey()
        Checks if this is a primary key column.
        返回:
        true if column flags contain FIELD_FLAG_PRIMARY_KEY
      • isUniqueKey

        boolean isUniqueKey()
        Checks if this is a unique key column.
        返回:
        true if column flags contain FIELD_FLAG_UNIQUE_KEY
      • isPartKey

        boolean isPartKey()
        Checks if this column is a part of key.
        返回:
        true if column flags contain FIELD_FLAG_MULTIPLE_KEY