org.apache.hadoop.hive.serde2.objectinspector.primitive
Enum PrimitiveObjectInspectorUtils.PrimitiveGrouping
java.lang.Object
java.lang.Enum<PrimitiveObjectInspectorUtils.PrimitiveGrouping>
org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveGrouping
- All Implemented Interfaces:
- Serializable, Comparable<PrimitiveObjectInspectorUtils.PrimitiveGrouping>
- Enclosing class:
- PrimitiveObjectInspectorUtils
public static enum PrimitiveObjectInspectorUtils.PrimitiveGrouping
- extends Enum<PrimitiveObjectInspectorUtils.PrimitiveGrouping>
Provide a general grouping for each primitive data type.
NUMERIC_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping NUMERIC_GROUP
STRING_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping STRING_GROUP
BOOLEAN_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping BOOLEAN_GROUP
DATE_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping DATE_GROUP
BINARY_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping BINARY_GROUP
VOID_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping VOID_GROUP
UNKNOWN_GROUP
public static final PrimitiveObjectInspectorUtils.PrimitiveGrouping UNKNOWN_GROUP
values
public static PrimitiveObjectInspectorUtils.PrimitiveGrouping[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PrimitiveObjectInspectorUtils.PrimitiveGrouping c : PrimitiveObjectInspectorUtils.PrimitiveGrouping.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PrimitiveObjectInspectorUtils.PrimitiveGrouping 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
Copyright © 2012 The Apache Software Foundation