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

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

public static enum ScriptState.PIG_FEATURE
extends Enum<ScriptState.PIG_FEATURE>

Features used in a Pig script


Enum Constant Summary
COGROUP
           
COLLECTED_GROUP
           
COMBINER
           
CROSS
           
DISTINCT
           
FILTER
           
GROUP_BY
           
HASH_JOIN
           
INDEXER
           
LIMIT
           
MAP_ONLY
           
MAP_PARTIALAGG
           
MERGE_COGROUP
           
MERGE_JOIN
           
MERGE_SPARSE_JOIN
           
MULTI_QUERY
           
NATIVE
           
ORDER_BY
           
RANK
           
REPLICATED_JOIN
           
SAMPLER
           
SKEWED_JOIN
           
STREAMING
           
UNION
           
UNKNOWN
           
 
Method Summary
static ScriptState.PIG_FEATURE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScriptState.PIG_FEATURE[] 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

UNKNOWN

public static final ScriptState.PIG_FEATURE UNKNOWN

MERGE_JOIN

public static final ScriptState.PIG_FEATURE MERGE_JOIN

MERGE_SPARSE_JOIN

public static final ScriptState.PIG_FEATURE MERGE_SPARSE_JOIN

REPLICATED_JOIN

public static final ScriptState.PIG_FEATURE REPLICATED_JOIN

SKEWED_JOIN

public static final ScriptState.PIG_FEATURE SKEWED_JOIN

HASH_JOIN

public static final ScriptState.PIG_FEATURE HASH_JOIN

COLLECTED_GROUP

public static final ScriptState.PIG_FEATURE COLLECTED_GROUP

MERGE_COGROUP

public static final ScriptState.PIG_FEATURE MERGE_COGROUP

COGROUP

public static final ScriptState.PIG_FEATURE COGROUP

GROUP_BY

public static final ScriptState.PIG_FEATURE GROUP_BY

ORDER_BY

public static final ScriptState.PIG_FEATURE ORDER_BY

RANK

public static final ScriptState.PIG_FEATURE RANK

DISTINCT

public static final ScriptState.PIG_FEATURE DISTINCT

STREAMING

public static final ScriptState.PIG_FEATURE STREAMING

SAMPLER

public static final ScriptState.PIG_FEATURE SAMPLER

INDEXER

public static final ScriptState.PIG_FEATURE INDEXER

MULTI_QUERY

public static final ScriptState.PIG_FEATURE MULTI_QUERY

FILTER

public static final ScriptState.PIG_FEATURE FILTER

MAP_ONLY

public static final ScriptState.PIG_FEATURE MAP_ONLY

CROSS

public static final ScriptState.PIG_FEATURE CROSS

LIMIT

public static final ScriptState.PIG_FEATURE LIMIT

UNION

public static final ScriptState.PIG_FEATURE UNION

COMBINER

public static final ScriptState.PIG_FEATURE COMBINER

NATIVE

public static final ScriptState.PIG_FEATURE NATIVE

MAP_PARTIALAGG

public static final ScriptState.PIG_FEATURE MAP_PARTIALAGG
Method Detail

values

public static ScriptState.PIG_FEATURE[] 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_FEATURE c : ScriptState.PIG_FEATURE.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_FEATURE 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 © 2007-2012 The Apache Software Foundation