Class Column.ColumnImpl

java.lang.Object
org.apache.gravitino.rel.Column.ColumnImpl
All Implemented Interfaces:
Column
Enclosing interface:
Column

public static class Column.ColumnImpl extends Object implements Column
The implementation of Column for users to use API.
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface Column
      Returns:
      The name of this column.
    • dataType

      public Type dataType()
      Specified by:
      dataType in interface Column
      Returns:
      The data type of this column.
    • comment

      public String comment()
      Specified by:
      comment in interface Column
      Returns:
      The comment of this column, null if not specified.
    • nullable

      public boolean nullable()
      Specified by:
      nullable in interface Column
      Returns:
      True if this column may produce null values. Default is true.
    • autoIncrement

      public boolean autoIncrement()
      Specified by:
      autoIncrement in interface Column
      Returns:
      True if this column is an auto-increment column. Default is false.
    • defaultValue

      public Expression defaultValue()
      Specified by:
      defaultValue in interface Column
      Returns:
      The default value of this column, Column.DEFAULT_VALUE_NOT_SET if not specified
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object