Enum Class TypeTag

java.lang.Object
java.lang.Enum<TypeTag>
com.tableau.hyperapi.TypeTag
All Implemented Interfaces:
Serializable, Comparable<TypeTag>, Constable

public enum TypeTag extends Enum<TypeTag>
A SQL type tag.
  • Enum Constant Details

    • UNSUPPORTED

      public static final TypeTag UNSUPPORTED
      Unsupported type
    • BOOL

      public static final TypeTag BOOL
      Bool type
    • BIG_INT

      public static final TypeTag BIG_INT
      bigint type
    • SMALL_INT

      public static final TypeTag SMALL_INT
      smallint type
    • INT

      public static final TypeTag INT
      int type
    • NUMERIC

      public static final TypeTag NUMERIC
      numeric type
    • DOUBLE

      public static final TypeTag DOUBLE
      double type
    • OID

      public static final TypeTag OID
      OID type
    • BYTES

      public static final TypeTag BYTES
      bytes type
    • TEXT

      public static final TypeTag TEXT
      text type
    • VARCHAR

      public static final TypeTag VARCHAR
      varchar type
    • CHAR

      public static final TypeTag CHAR
      char type
    • JSON

      public static final TypeTag JSON
      json type
    • DATE

      public static final TypeTag DATE
      date type
    • INTERVAL

      public static final TypeTag INTERVAL
      interval type
    • TIME

      public static final TypeTag TIME
      time type
    • TIMESTAMP

      public static final TypeTag TIMESTAMP
      timestamp type
    • TIMESTAMP_TZ

      public static final TypeTag TIMESTAMP_TZ
      timestamptz type
    • GEOGRAPHY

      public static final TypeTag GEOGRAPHY
      geography type
    • FLOAT

      public static final TypeTag FLOAT
      float type
  • Method Details

    • values

      public static TypeTag[] 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 TypeTag 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