public static enum HiveTypeUtil.HivePrimitiveCategory extends Enum<HiveTypeUtil.HivePrimitiveCategory>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
BYTE |
CHAR |
DATE |
DECIMAL |
DOUBLE |
FLOAT |
INT |
INTERVAL_DAY_TIME |
INTERVAL_YEAR_MONTH |
LONG |
SHORT |
STRING |
TIMESTAMP |
UNKNOWN |
VARCHAR |
VOID |
Modifier and Type | Method and Description |
---|---|
static HiveTypeUtil.HivePrimitiveCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveTypeUtil.HivePrimitiveCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveTypeUtil.HivePrimitiveCategory VOID
public static final HiveTypeUtil.HivePrimitiveCategory BOOLEAN
public static final HiveTypeUtil.HivePrimitiveCategory BYTE
public static final HiveTypeUtil.HivePrimitiveCategory SHORT
public static final HiveTypeUtil.HivePrimitiveCategory INT
public static final HiveTypeUtil.HivePrimitiveCategory LONG
public static final HiveTypeUtil.HivePrimitiveCategory FLOAT
public static final HiveTypeUtil.HivePrimitiveCategory DOUBLE
public static final HiveTypeUtil.HivePrimitiveCategory STRING
public static final HiveTypeUtil.HivePrimitiveCategory DATE
public static final HiveTypeUtil.HivePrimitiveCategory TIMESTAMP
public static final HiveTypeUtil.HivePrimitiveCategory BINARY
public static final HiveTypeUtil.HivePrimitiveCategory DECIMAL
public static final HiveTypeUtil.HivePrimitiveCategory VARCHAR
public static final HiveTypeUtil.HivePrimitiveCategory CHAR
public static final HiveTypeUtil.HivePrimitiveCategory INTERVAL_YEAR_MONTH
public static final HiveTypeUtil.HivePrimitiveCategory INTERVAL_DAY_TIME
public static final HiveTypeUtil.HivePrimitiveCategory UNKNOWN
public static HiveTypeUtil.HivePrimitiveCategory[] values()
for (HiveTypeUtil.HivePrimitiveCategory c : HiveTypeUtil.HivePrimitiveCategory.values()) System.out.println(c);
public static HiveTypeUtil.HivePrimitiveCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.