public static enum PrimitiveObjectInspector.PrimitiveCategory extends Enum<PrimitiveObjectInspector.PrimitiveCategory>
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 PrimitiveObjectInspector.PrimitiveCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveObjectInspector.PrimitiveCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveObjectInspector.PrimitiveCategory VOID
public static final PrimitiveObjectInspector.PrimitiveCategory BOOLEAN
public static final PrimitiveObjectInspector.PrimitiveCategory BYTE
public static final PrimitiveObjectInspector.PrimitiveCategory SHORT
public static final PrimitiveObjectInspector.PrimitiveCategory INT
public static final PrimitiveObjectInspector.PrimitiveCategory LONG
public static final PrimitiveObjectInspector.PrimitiveCategory FLOAT
public static final PrimitiveObjectInspector.PrimitiveCategory DOUBLE
public static final PrimitiveObjectInspector.PrimitiveCategory STRING
public static final PrimitiveObjectInspector.PrimitiveCategory DATE
public static final PrimitiveObjectInspector.PrimitiveCategory TIMESTAMP
public static final PrimitiveObjectInspector.PrimitiveCategory BINARY
public static final PrimitiveObjectInspector.PrimitiveCategory DECIMAL
public static final PrimitiveObjectInspector.PrimitiveCategory VARCHAR
public static final PrimitiveObjectInspector.PrimitiveCategory CHAR
public static final PrimitiveObjectInspector.PrimitiveCategory INTERVAL_YEAR_MONTH
public static final PrimitiveObjectInspector.PrimitiveCategory INTERVAL_DAY_TIME
public static final PrimitiveObjectInspector.PrimitiveCategory UNKNOWN
public static PrimitiveObjectInspector.PrimitiveCategory[] values()
for (PrimitiveObjectInspector.PrimitiveCategory c : PrimitiveObjectInspector.PrimitiveCategory.values()) System.out.println(c);
public static PrimitiveObjectInspector.PrimitiveCategory 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 © 2017 The Apache Software Foundation. All rights reserved.