|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TTypeId>
org.apache.hive.service.cli.thrift.TTypeId
public enum TTypeId
Method Summary | |
---|---|
static TTypeId |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static TTypeId |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TTypeId[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TTypeId BOOLEAN_TYPE
public static final TTypeId TINYINT_TYPE
public static final TTypeId SMALLINT_TYPE
public static final TTypeId INT_TYPE
public static final TTypeId BIGINT_TYPE
public static final TTypeId FLOAT_TYPE
public static final TTypeId DOUBLE_TYPE
public static final TTypeId STRING_TYPE
public static final TTypeId TIMESTAMP_TYPE
public static final TTypeId BINARY_TYPE
public static final TTypeId ARRAY_TYPE
public static final TTypeId MAP_TYPE
public static final TTypeId STRUCT_TYPE
public static final TTypeId UNION_TYPE
public static final TTypeId USER_DEFINED_TYPE
public static final TTypeId DECIMAL_TYPE
public static final TTypeId NULL_TYPE
public static final TTypeId DATE_TYPE
public static final TTypeId VARCHAR_TYPE
Method Detail |
---|
public static TTypeId[] values()
for (TTypeId c : TTypeId.values()) System.out.println(c);
public static TTypeId valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface org.apache.thrift.TEnum
public static TTypeId findByValue(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |