Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.sql.impl
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionXDBC_BIGINT = -5;XDBC_BINARY = -2;XDBC_BIT = -7;XDBC_CHAR = 1;XDBC_DATE = 91;XDBC_DATETIME = 9;XDBC_DECIMAL = 3;XDBC_DOUBLE = 8;XDBC_FLOAT = 6;XDBC_INTEGER = 4;XDBC_INTERVAL = 10;XDBC_LONGVARBINARY = -4;XDBC_LONGVARCHAR = -1;XDBC_NUMERIC = 2;XDBC_REAL = 7;XDBC_SMALLINT = 5;XDBC_TIME = 92;XDBC_TIMESTAMP = 93;XDBC_TINYINT = -6;XDBC_UNKNOWN_TYPE = 0;XDBC_VARBINARY = -3;XDBC_VARCHAR = 12;XDBC_WCHAR = -8;XDBC_WVARCHAR = -9; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intXDBC_BIGINT = -5;static final intXDBC_BINARY = -2;static final intXDBC_BIT = -7;static final intXDBC_CHAR = 1;static final intXDBC_DATE = 91;static final intXDBC_DATETIME = 9;static final intXDBC_DECIMAL = 3;static final intXDBC_DOUBLE = 8;static final intXDBC_FLOAT = 6;static final intXDBC_INTEGER = 4;static final intXDBC_INTERVAL = 10;static final intXDBC_LONGVARBINARY = -4;static final intXDBC_LONGVARCHAR = -1;static final intXDBC_NUMERIC = 2;static final intXDBC_REAL = 7;static final intXDBC_SMALLINT = 5;static final intXDBC_TIME = 92;static final intXDBC_TIMESTAMP = 93;static final intXDBC_TINYINT = -6;static final intXDBC_UNKNOWN_TYPE = 0;static final intXDBC_VARBINARY = -3;static final intXDBC_VARCHAR = 12;static final intXDBC_WCHAR = -8;static final intXDBC_WVARCHAR = -9; -
Method Summary
Modifier and TypeMethodDescriptionstatic FlightSql.XdbcDataTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FlightSql.XdbcDataType>static FlightSql.XdbcDataTypevalueOf(int value) Deprecated.static FlightSql.XdbcDataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static FlightSql.XdbcDataTypeReturns the enum constant of this type with the specified name.static FlightSql.XdbcDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XDBC_UNKNOWN_TYPE
XDBC_UNKNOWN_TYPE = 0; -
XDBC_CHAR
XDBC_CHAR = 1; -
XDBC_NUMERIC
XDBC_NUMERIC = 2; -
XDBC_DECIMAL
XDBC_DECIMAL = 3; -
XDBC_INTEGER
XDBC_INTEGER = 4; -
XDBC_SMALLINT
XDBC_SMALLINT = 5; -
XDBC_FLOAT
XDBC_FLOAT = 6; -
XDBC_REAL
XDBC_REAL = 7; -
XDBC_DOUBLE
XDBC_DOUBLE = 8; -
XDBC_DATETIME
XDBC_DATETIME = 9; -
XDBC_INTERVAL
XDBC_INTERVAL = 10; -
XDBC_VARCHAR
XDBC_VARCHAR = 12; -
XDBC_DATE
XDBC_DATE = 91; -
XDBC_TIME
XDBC_TIME = 92; -
XDBC_TIMESTAMP
XDBC_TIMESTAMP = 93; -
XDBC_LONGVARCHAR
XDBC_LONGVARCHAR = -1; -
XDBC_BINARY
XDBC_BINARY = -2; -
XDBC_VARBINARY
XDBC_VARBINARY = -3; -
XDBC_LONGVARBINARY
XDBC_LONGVARBINARY = -4; -
XDBC_BIGINT
XDBC_BIGINT = -5; -
XDBC_TINYINT
XDBC_TINYINT = -6; -
XDBC_BIT
XDBC_BIT = -7; -
XDBC_WCHAR
XDBC_WCHAR = -8; -
XDBC_WVARCHAR
XDBC_WVARCHAR = -9; -
UNRECOGNIZED
-
-
Field Details
-
XDBC_UNKNOWN_TYPE_VALUE
public static final int XDBC_UNKNOWN_TYPE_VALUEXDBC_UNKNOWN_TYPE = 0;- See Also:
-
XDBC_CHAR_VALUE
public static final int XDBC_CHAR_VALUEXDBC_CHAR = 1;- See Also:
-
XDBC_NUMERIC_VALUE
public static final int XDBC_NUMERIC_VALUEXDBC_NUMERIC = 2;- See Also:
-
XDBC_DECIMAL_VALUE
public static final int XDBC_DECIMAL_VALUEXDBC_DECIMAL = 3;- See Also:
-
XDBC_INTEGER_VALUE
public static final int XDBC_INTEGER_VALUEXDBC_INTEGER = 4;- See Also:
-
XDBC_SMALLINT_VALUE
public static final int XDBC_SMALLINT_VALUEXDBC_SMALLINT = 5;- See Also:
-
XDBC_FLOAT_VALUE
public static final int XDBC_FLOAT_VALUEXDBC_FLOAT = 6;- See Also:
-
XDBC_REAL_VALUE
public static final int XDBC_REAL_VALUEXDBC_REAL = 7;- See Also:
-
XDBC_DOUBLE_VALUE
public static final int XDBC_DOUBLE_VALUEXDBC_DOUBLE = 8;- See Also:
-
XDBC_DATETIME_VALUE
public static final int XDBC_DATETIME_VALUEXDBC_DATETIME = 9;- See Also:
-
XDBC_INTERVAL_VALUE
public static final int XDBC_INTERVAL_VALUEXDBC_INTERVAL = 10;- See Also:
-
XDBC_VARCHAR_VALUE
public static final int XDBC_VARCHAR_VALUEXDBC_VARCHAR = 12;- See Also:
-
XDBC_DATE_VALUE
public static final int XDBC_DATE_VALUEXDBC_DATE = 91;- See Also:
-
XDBC_TIME_VALUE
public static final int XDBC_TIME_VALUEXDBC_TIME = 92;- See Also:
-
XDBC_TIMESTAMP_VALUE
public static final int XDBC_TIMESTAMP_VALUEXDBC_TIMESTAMP = 93;- See Also:
-
XDBC_LONGVARCHAR_VALUE
public static final int XDBC_LONGVARCHAR_VALUEXDBC_LONGVARCHAR = -1;- See Also:
-
XDBC_BINARY_VALUE
public static final int XDBC_BINARY_VALUEXDBC_BINARY = -2;- See Also:
-
XDBC_VARBINARY_VALUE
public static final int XDBC_VARBINARY_VALUEXDBC_VARBINARY = -3;- See Also:
-
XDBC_LONGVARBINARY_VALUE
public static final int XDBC_LONGVARBINARY_VALUEXDBC_LONGVARBINARY = -4;- See Also:
-
XDBC_BIGINT_VALUE
public static final int XDBC_BIGINT_VALUEXDBC_BIGINT = -5;- See Also:
-
XDBC_TINYINT_VALUE
public static final int XDBC_TINYINT_VALUEXDBC_TINYINT = -6;- See Also:
-
XDBC_BIT_VALUE
public static final int XDBC_BIT_VALUEXDBC_BIT = -7;- See Also:
-
XDBC_WCHAR_VALUE
public static final int XDBC_WCHAR_VALUEXDBC_WCHAR = -8;- See Also:
-
XDBC_WVARCHAR_VALUE
public static final int XDBC_WVARCHAR_VALUEXDBC_WVARCHAR = -9;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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 nameNullPointerException- if the argument is null
-