Interface Column

All Known Implementing Classes:
ColumnImpl

public interface Column
Represents individual column of RowResult
  • Method Details

    • getSchemaName

      java.lang.String getSchemaName()
      Get name of Schema.
      Returns:
      schema name
    • getTableName

      java.lang.String getTableName()
      Get name of Table.
      Returns:
      table name
    • getTableLabel

      java.lang.String getTableLabel()
      Get alias of Table.
      Returns:
      table alias
    • getColumnName

      java.lang.String getColumnName()
      Get name of this column.
      Returns:
      column name
    • getColumnLabel

      java.lang.String getColumnLabel()
      Get alias of this column.
      Returns:
      column alias
    • getType

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

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

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

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

      java.lang.String getCollationName()
      Get collation name for the column value.
      Returns:
      collation name
    • getCharacterSetName

      java.lang.String getCharacterSetName()
      Get character set name for the column value.
      Returns:
      character set name
    • isPadded

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

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

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

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

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

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