org.apache.hadoop.hive.serde2.objectinspector.primitive
Enum PrimitiveObjectInspectorUtils.PrimitiveGrouping

java.lang.Object
  extended by java.lang.Enum<PrimitiveObjectInspectorUtils.PrimitiveGrouping>
      extended by 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.


Enum Constant Summary
BINARY_GROUP
           
BOOLEAN_GROUP
           
DATE_GROUP
           
NUMERIC_GROUP
           
STRING_GROUP
           
UNKNOWN_GROUP
           
VOID_GROUP
           
 
Method Summary
static PrimitiveObjectInspectorUtils.PrimitiveGrouping valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PrimitiveObjectInspectorUtils.PrimitiveGrouping[] 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

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
Method Detail

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