Class BooleanColumn

All Implemented Interfaces:
ColumnMeta<Boolean>

public final class BooleanColumn extends Column<Boolean>
Boolean column (BIT type).
  • Field Details

  • Constructor Details

  • Method Details

    • parseSQLBool

      public static Boolean parseSQLBool(String lexvalue) throws ParseException
      Parses a string in SQL definition DEFAULT to a boolean value.
      Parameters:
      lexvalue - string definition
      Returns:
      Throws:
      ParseException - incorrect string format
    • getDefaultValue

      public Boolean getDefaultValue()
      Description copied from class: Column
      Returns default value.
      Specified by:
      getDefaultValue in class Column<Boolean>
    • jdbcGetterName

      public String jdbcGetterName()
      Description copied from interface: ColumnMeta
      Name of jdbcGetter that should be used for getting column data.
      Returns:
    • getCelestaType

      public String getCelestaType()
      Description copied from interface: ColumnMeta
      Celesta data type that corresponds to the field.
      Returns:
    • getJavaClass

      public Class<?> getJavaClass()
      Description copied from interface: ColumnMeta
      Returns corresponding Java data type.
      Returns:
    • getCelestaDefault

      public String getCelestaDefault()
      Description copied from class: Column
      DEFAULT value of the field in CelestaSQL language.
      Specified by:
      getCelestaDefault in class Column<Boolean>