Enum Class EsType

java.lang.Object
java.lang.Enum<EsType>
org.elasticsearch.xpack.sql.jdbc.EsType
All Implemented Interfaces:
Serializable, Comparable<EsType>, Constable, SQLType

public enum EsType extends Enum<EsType> implements SQLType
  • Enum Constant Details

    • NULL

      public static final EsType NULL
    • UNSUPPORTED

      public static final EsType UNSUPPORTED
    • BOOLEAN

      public static final EsType BOOLEAN
    • BYTE

      public static final EsType BYTE
    • SHORT

      public static final EsType SHORT
    • INTEGER

      public static final EsType INTEGER
    • LONG

      public static final EsType LONG
    • DOUBLE

      public static final EsType DOUBLE
    • FLOAT

      public static final EsType FLOAT
    • HALF_FLOAT

      public static final EsType HALF_FLOAT
    • SCALED_FLOAT

      public static final EsType SCALED_FLOAT
    • KEYWORD

      public static final EsType KEYWORD
    • TEXT

      public static final EsType TEXT
    • OBJECT

      public static final EsType OBJECT
    • NESTED

      public static final EsType NESTED
    • BINARY

      public static final EsType BINARY
    • DATE

      public static final EsType DATE
    • TIME

      public static final EsType TIME
    • DATETIME

      public static final EsType DATETIME
    • IP

      public static final EsType IP
    • INTERVAL_YEAR

      public static final EsType INTERVAL_YEAR
    • INTERVAL_MONTH

      public static final EsType INTERVAL_MONTH
    • INTERVAL_YEAR_TO_MONTH

      public static final EsType INTERVAL_YEAR_TO_MONTH
    • INTERVAL_DAY

      public static final EsType INTERVAL_DAY
    • INTERVAL_HOUR

      public static final EsType INTERVAL_HOUR
    • INTERVAL_MINUTE

      public static final EsType INTERVAL_MINUTE
    • INTERVAL_SECOND

      public static final EsType INTERVAL_SECOND
    • INTERVAL_DAY_TO_HOUR

      public static final EsType INTERVAL_DAY_TO_HOUR
    • INTERVAL_DAY_TO_MINUTE

      public static final EsType INTERVAL_DAY_TO_MINUTE
    • INTERVAL_DAY_TO_SECOND

      public static final EsType INTERVAL_DAY_TO_SECOND
    • INTERVAL_HOUR_TO_MINUTE

      public static final EsType INTERVAL_HOUR_TO_MINUTE
    • INTERVAL_HOUR_TO_SECOND

      public static final EsType INTERVAL_HOUR_TO_SECOND
    • INTERVAL_MINUTE_TO_SECOND

      public static final EsType INTERVAL_MINUTE_TO_SECOND
    • GEO_POINT

      public static final EsType GEO_POINT
    • GEO_SHAPE

      public static final EsType GEO_SHAPE
    • SHAPE

      public static final EsType SHAPE
    • UNSIGNED_LONG

      public static final EsType UNSIGNED_LONG
    • VERSION

      public static final EsType VERSION
  • Method Details

    • values

      public static EsType[] 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 EsType 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
    • getName

      public String getName()
      Specified by:
      getName in interface SQLType
    • getVendor

      public String getVendor()
      Specified by:
      getVendor in interface SQLType
    • getVendorTypeNumber

      public Integer getVendorTypeNumber()
      Specified by:
      getVendorTypeNumber in interface SQLType