org.apache.hadoop.hive.ql.history
Enum HiveHistory.Keys

java.lang.Object
  extended by java.lang.Enum<HiveHistory.Keys>
      extended by org.apache.hadoop.hive.ql.history.HiveHistory.Keys
All Implemented Interfaces:
Serializable, Comparable<HiveHistory.Keys>
Enclosing interface:
HiveHistory

public static enum HiveHistory.Keys
extends Enum<HiveHistory.Keys>

Keys.


Enum Constant Summary
QUERY_ID
           
QUERY_NUM_TASKS
           
QUERY_RET_CODE
           
QUERY_STRING
           
ROWS_INSERTED
           
SESSION_ID
           
TASK_COUNTERS
           
TASK_HADOOP_ID
           
TASK_HADOOP_PROGRESS
           
TASK_ID
           
TASK_NAME
           
TASK_NUM_MAPPERS
           
TASK_NUM_REDUCERS
           
TASK_RET_CODE
           
TIME
           
 
Method Summary
static HiveHistory.Keys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HiveHistory.Keys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SESSION_ID

public static final HiveHistory.Keys SESSION_ID

QUERY_ID

public static final HiveHistory.Keys QUERY_ID

TASK_ID

public static final HiveHistory.Keys TASK_ID

QUERY_RET_CODE

public static final HiveHistory.Keys QUERY_RET_CODE

QUERY_NUM_TASKS

public static final HiveHistory.Keys QUERY_NUM_TASKS

QUERY_STRING

public static final HiveHistory.Keys QUERY_STRING

TIME

public static final HiveHistory.Keys TIME

TASK_RET_CODE

public static final HiveHistory.Keys TASK_RET_CODE

TASK_NAME

public static final HiveHistory.Keys TASK_NAME

TASK_HADOOP_ID

public static final HiveHistory.Keys TASK_HADOOP_ID

TASK_HADOOP_PROGRESS

public static final HiveHistory.Keys TASK_HADOOP_PROGRESS

TASK_COUNTERS

public static final HiveHistory.Keys TASK_COUNTERS

TASK_NUM_MAPPERS

public static final HiveHistory.Keys TASK_NUM_MAPPERS

TASK_NUM_REDUCERS

public static final HiveHistory.Keys TASK_NUM_REDUCERS

ROWS_INSERTED

public static final HiveHistory.Keys ROWS_INSERTED
Method Detail

values

public static HiveHistory.Keys[] 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 (HiveHistory.Keys c : HiveHistory.Keys.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HiveHistory.Keys 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 © 2014 The Apache Software Foundation. All rights reserved.