org.apache.pig.tools.pigstats
Enum ScriptState.PIG_PROPERTY

java.lang.Object
  extended by java.lang.Enum<ScriptState.PIG_PROPERTY>
      extended by org.apache.pig.tools.pigstats.ScriptState.PIG_PROPERTY
All Implemented Interfaces:
Serializable, Comparable<ScriptState.PIG_PROPERTY>
Enclosing class:
ScriptState

protected static enum ScriptState.PIG_PROPERTY
extends Enum<ScriptState.PIG_PROPERTY>

Keys of Pig settings added to Jobs


Enum Constant Summary
COMMAND_LINE
           
HADOOP_VERSION
           
INPUT_DIRS
           
JOB_ALIAS
           
JOB_ALIAS_LOCATION
           
JOB_FEATURE
           
JOB_PARENTS
           
MAP_OUTPUT_DIRS
           
REDUCE_OUTPUT_DIRS
           
SCRIPT
           
SCRIPT_FEATURES
           
SCRIPT_ID
           
VERSION
           
 
Method Summary
 String toString()
           
static ScriptState.PIG_PROPERTY valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScriptState.PIG_PROPERTY[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SCRIPT_ID

public static final ScriptState.PIG_PROPERTY SCRIPT_ID

SCRIPT

public static final ScriptState.PIG_PROPERTY SCRIPT

COMMAND_LINE

public static final ScriptState.PIG_PROPERTY COMMAND_LINE

HADOOP_VERSION

public static final ScriptState.PIG_PROPERTY HADOOP_VERSION

VERSION

public static final ScriptState.PIG_PROPERTY VERSION

INPUT_DIRS

public static final ScriptState.PIG_PROPERTY INPUT_DIRS

MAP_OUTPUT_DIRS

public static final ScriptState.PIG_PROPERTY MAP_OUTPUT_DIRS

REDUCE_OUTPUT_DIRS

public static final ScriptState.PIG_PROPERTY REDUCE_OUTPUT_DIRS

JOB_PARENTS

public static final ScriptState.PIG_PROPERTY JOB_PARENTS

JOB_FEATURE

public static final ScriptState.PIG_PROPERTY JOB_FEATURE

SCRIPT_FEATURES

public static final ScriptState.PIG_PROPERTY SCRIPT_FEATURES

JOB_ALIAS

public static final ScriptState.PIG_PROPERTY JOB_ALIAS

JOB_ALIAS_LOCATION

public static final ScriptState.PIG_PROPERTY JOB_ALIAS_LOCATION
Method Detail

values

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

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

valueOf

public static ScriptState.PIG_PROPERTY 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

toString

public String toString()
Overrides:
toString in class Enum<ScriptState.PIG_PROPERTY>


Copyright © 2007-2012 The Apache Software Foundation