Enum Class BaseType

java.lang.Object
java.lang.Enum<BaseType>
com.firebolt.jdbc.type.BaseType
All Implemented Interfaces:
Serializable, Comparable<BaseType>, Constable

public enum BaseType extends Enum<BaseType>
This class contains the java types the Firebolt data types are mapped to
  • Enum Constant Details

    • LONG

      public static final BaseType LONG
    • INTEGER

      public static final BaseType INTEGER
    • SHORT

      public static final BaseType SHORT
    • BYTE

      public static final BaseType BYTE
    • BIGINT

      public static final BaseType BIGINT
    • TEXT

      public static final BaseType TEXT
    • REAL

      public static final BaseType REAL
    • DOUBLE

      public static final BaseType DOUBLE
    • DATE

      public static final BaseType DATE
    • TIMESTAMP

      public static final BaseType TIMESTAMP
    • TIMESTAMP_WITH_TIMEZONE

      public static final BaseType TIMESTAMP_WITH_TIMEZONE
    • TIME

      public static final BaseType TIME
    • NULL

      public static final BaseType NULL
    • OTHER

      public static final BaseType OTHER
    • OBJECT

      public static final BaseType OBJECT
    • NUMERIC

      public static final BaseType NUMERIC
    • BOOLEAN

      public static final BaseType BOOLEAN
    • ARRAY

      public static final BaseType ARRAY
    • BYTEA

      public static final BaseType BYTEA
  • Field Details

  • Method Details

    • values

      public static BaseType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BaseType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isNull

      public static boolean isNull(String value)
    • getType

      public Class<?> getType()
    • transform

      public <T> T transform(String value, Column column) throws SQLException
      Throws:
      SQLException
    • transform

      public <T> T transform(String value) throws SQLException
      Throws:
      SQLException
    • transform

      public <T> T transform(@Nonnull String value, Column column, TimeZone timeZone, int maxFieldSize) throws SQLException
      Throws:
      SQLException