Enum FlightSql.XdbcDataType

java.lang.Object
java.lang.Enum<FlightSql.XdbcDataType>
org.apache.arrow.flight.sql.impl.FlightSql.XdbcDataType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FlightSql.XdbcDataType>
Enclosing class:
FlightSql

public static enum FlightSql.XdbcDataType extends Enum<FlightSql.XdbcDataType> implements com.google.protobuf.ProtocolMessageEnum

 The JDBC/ODBC-defined type of any object.
 All the values here are the same as in the JDBC and ODBC specs.
 
Protobuf enum arrow.flight.protocol.sql.XdbcDataType
  • Enum Constant Details

  • Field Details

    • XDBC_UNKNOWN_TYPE_VALUE

      public static final int XDBC_UNKNOWN_TYPE_VALUE
      XDBC_UNKNOWN_TYPE = 0;
      See Also:
    • XDBC_CHAR_VALUE

      public static final int XDBC_CHAR_VALUE
      XDBC_CHAR = 1;
      See Also:
    • XDBC_NUMERIC_VALUE

      public static final int XDBC_NUMERIC_VALUE
      XDBC_NUMERIC = 2;
      See Also:
    • XDBC_DECIMAL_VALUE

      public static final int XDBC_DECIMAL_VALUE
      XDBC_DECIMAL = 3;
      See Also:
    • XDBC_INTEGER_VALUE

      public static final int XDBC_INTEGER_VALUE
      XDBC_INTEGER = 4;
      See Also:
    • XDBC_SMALLINT_VALUE

      public static final int XDBC_SMALLINT_VALUE
      XDBC_SMALLINT = 5;
      See Also:
    • XDBC_FLOAT_VALUE

      public static final int XDBC_FLOAT_VALUE
      XDBC_FLOAT = 6;
      See Also:
    • XDBC_REAL_VALUE

      public static final int XDBC_REAL_VALUE
      XDBC_REAL = 7;
      See Also:
    • XDBC_DOUBLE_VALUE

      public static final int XDBC_DOUBLE_VALUE
      XDBC_DOUBLE = 8;
      See Also:
    • XDBC_DATETIME_VALUE

      public static final int XDBC_DATETIME_VALUE
      XDBC_DATETIME = 9;
      See Also:
    • XDBC_INTERVAL_VALUE

      public static final int XDBC_INTERVAL_VALUE
      XDBC_INTERVAL = 10;
      See Also:
    • XDBC_VARCHAR_VALUE

      public static final int XDBC_VARCHAR_VALUE
      XDBC_VARCHAR = 12;
      See Also:
    • XDBC_DATE_VALUE

      public static final int XDBC_DATE_VALUE
      XDBC_DATE = 91;
      See Also:
    • XDBC_TIME_VALUE

      public static final int XDBC_TIME_VALUE
      XDBC_TIME = 92;
      See Also:
    • XDBC_TIMESTAMP_VALUE

      public static final int XDBC_TIMESTAMP_VALUE
      XDBC_TIMESTAMP = 93;
      See Also:
    • XDBC_LONGVARCHAR_VALUE

      public static final int XDBC_LONGVARCHAR_VALUE
      XDBC_LONGVARCHAR = -1;
      See Also:
    • XDBC_BINARY_VALUE

      public static final int XDBC_BINARY_VALUE
      XDBC_BINARY = -2;
      See Also:
    • XDBC_VARBINARY_VALUE

      public static final int XDBC_VARBINARY_VALUE
      XDBC_VARBINARY = -3;
      See Also:
    • XDBC_LONGVARBINARY_VALUE

      public static final int XDBC_LONGVARBINARY_VALUE
      XDBC_LONGVARBINARY = -4;
      See Also:
    • XDBC_BIGINT_VALUE

      public static final int XDBC_BIGINT_VALUE
      XDBC_BIGINT = -5;
      See Also:
    • XDBC_TINYINT_VALUE

      public static final int XDBC_TINYINT_VALUE
      XDBC_TINYINT = -6;
      See Also:
    • XDBC_BIT_VALUE

      public static final int XDBC_BIT_VALUE
      XDBC_BIT = -7;
      See Also:
    • XDBC_WCHAR_VALUE

      public static final int XDBC_WCHAR_VALUE
      XDBC_WCHAR = -8;
      See Also:
    • XDBC_WVARCHAR_VALUE

      public static final int XDBC_WVARCHAR_VALUE
      XDBC_WVARCHAR = -9;
      See Also:
  • Method Details

    • values

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

      public static FlightSql.XdbcDataType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FlightSql.XdbcDataType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static FlightSql.XdbcDataType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<FlightSql.XdbcDataType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static FlightSql.XdbcDataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null