org.apache.pig
Enum PigWarning

java.lang.Object
  extended by java.lang.Enum<PigWarning>
      extended by org.apache.pig.PigWarning
All Implemented Interfaces:
Serializable, Comparable<PigWarning>

public enum PigWarning
extends Enum<PigWarning>

An enum to enumerate the warning types in Pig


Enum Constant Summary
ACCESSING_NON_EXISTENT_FIELD
           
DELETE_FAILED
           
DID_NOT_FIND_LOAD_ONLY_MAP_PLAN
           
DIVIDE_BY_ZERO
           
FIELD_DISCARDED_TYPE_CONVERSION_FAILED
           
GROUP_BY_INCOMPATIBLE_TYPES
           
IMPLICIT_CAST_TO_BAG
           
IMPLICIT_CAST_TO_CHARARRAY
           
IMPLICIT_CAST_TO_DOUBLE
           
IMPLICIT_CAST_TO_FLOAT
           
IMPLICIT_CAST_TO_INT
           
IMPLICIT_CAST_TO_LONG
           
IMPLICIT_CAST_TO_MAP
           
IMPLICIT_CAST_TO_TUPLE
           
MULTI_LEAF_MAP
           
MULTI_LEAF_REDUCE
           
NON_EMPTY_COMBINE_PLAN
           
NON_PACKAGE_REDUCE_PLAN_ROOT
           
NULL_COUNTER_COUNT
           
PROGRESS_REPORTER_NOT_PROVIDED
           
PROJECTION_INVALID_RANGE
           
REDUCE_PLAN_NOT_EMPTY_WHILE_MAP_PLAN_UNDER_PROCESS
           
REDUCER_COUNT_LOW
           
TOO_LARGE_FOR_INT
           
UDF_WARNING_1
           
UDF_WARNING_10
           
UDF_WARNING_11
           
UDF_WARNING_12
           
UDF_WARNING_2
           
UDF_WARNING_3
           
UDF_WARNING_4
           
UDF_WARNING_5
           
UDF_WARNING_6
           
UDF_WARNING_7
           
UDF_WARNING_8
           
UDF_WARNING_9
           
UNABLE_TO_CLOSE_SPILL_FILE
           
UNABLE_TO_CREATE_FILE_TO_SPILL
           
UNABLE_TO_SPILL
           
UNREACHABLE_CODE_BOTH_MAP_AND_REDUCE_PLANS_PROCESSED
           
USING_OVERLOADED_FUNCTION
           
 
Method Summary
static PigWarning valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PigWarning[] 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

ACCESSING_NON_EXISTENT_FIELD

public static final PigWarning ACCESSING_NON_EXISTENT_FIELD

DID_NOT_FIND_LOAD_ONLY_MAP_PLAN

public static final PigWarning DID_NOT_FIND_LOAD_ONLY_MAP_PLAN

DIVIDE_BY_ZERO

public static final PigWarning DIVIDE_BY_ZERO

FIELD_DISCARDED_TYPE_CONVERSION_FAILED

public static final PigWarning FIELD_DISCARDED_TYPE_CONVERSION_FAILED

GROUP_BY_INCOMPATIBLE_TYPES

public static final PigWarning GROUP_BY_INCOMPATIBLE_TYPES

IMPLICIT_CAST_TO_BAG

public static final PigWarning IMPLICIT_CAST_TO_BAG

IMPLICIT_CAST_TO_CHARARRAY

public static final PigWarning IMPLICIT_CAST_TO_CHARARRAY

IMPLICIT_CAST_TO_DOUBLE

public static final PigWarning IMPLICIT_CAST_TO_DOUBLE

IMPLICIT_CAST_TO_FLOAT

public static final PigWarning IMPLICIT_CAST_TO_FLOAT

IMPLICIT_CAST_TO_INT

public static final PigWarning IMPLICIT_CAST_TO_INT

IMPLICIT_CAST_TO_LONG

public static final PigWarning IMPLICIT_CAST_TO_LONG

IMPLICIT_CAST_TO_MAP

public static final PigWarning IMPLICIT_CAST_TO_MAP

IMPLICIT_CAST_TO_TUPLE

public static final PigWarning IMPLICIT_CAST_TO_TUPLE

TOO_LARGE_FOR_INT

public static final PigWarning TOO_LARGE_FOR_INT

MULTI_LEAF_MAP

public static final PigWarning MULTI_LEAF_MAP

MULTI_LEAF_REDUCE

public static final PigWarning MULTI_LEAF_REDUCE

NON_PACKAGE_REDUCE_PLAN_ROOT

public static final PigWarning NON_PACKAGE_REDUCE_PLAN_ROOT

NON_EMPTY_COMBINE_PLAN

public static final PigWarning NON_EMPTY_COMBINE_PLAN

PROGRESS_REPORTER_NOT_PROVIDED

public static final PigWarning PROGRESS_REPORTER_NOT_PROVIDED

REDUCE_PLAN_NOT_EMPTY_WHILE_MAP_PLAN_UNDER_PROCESS

public static final PigWarning REDUCE_PLAN_NOT_EMPTY_WHILE_MAP_PLAN_UNDER_PROCESS

UDF_WARNING_1

public static final PigWarning UDF_WARNING_1

UDF_WARNING_2

public static final PigWarning UDF_WARNING_2

UDF_WARNING_3

public static final PigWarning UDF_WARNING_3

UDF_WARNING_4

public static final PigWarning UDF_WARNING_4

UDF_WARNING_5

public static final PigWarning UDF_WARNING_5

UDF_WARNING_6

public static final PigWarning UDF_WARNING_6

UDF_WARNING_7

public static final PigWarning UDF_WARNING_7

UDF_WARNING_8

public static final PigWarning UDF_WARNING_8

UDF_WARNING_9

public static final PigWarning UDF_WARNING_9

UDF_WARNING_10

public static final PigWarning UDF_WARNING_10

UDF_WARNING_11

public static final PigWarning UDF_WARNING_11

UDF_WARNING_12

public static final PigWarning UDF_WARNING_12

UNABLE_TO_CREATE_FILE_TO_SPILL

public static final PigWarning UNABLE_TO_CREATE_FILE_TO_SPILL

UNABLE_TO_SPILL

public static final PigWarning UNABLE_TO_SPILL

UNABLE_TO_CLOSE_SPILL_FILE

public static final PigWarning UNABLE_TO_CLOSE_SPILL_FILE

UNREACHABLE_CODE_BOTH_MAP_AND_REDUCE_PLANS_PROCESSED

public static final PigWarning UNREACHABLE_CODE_BOTH_MAP_AND_REDUCE_PLANS_PROCESSED

USING_OVERLOADED_FUNCTION

public static final PigWarning USING_OVERLOADED_FUNCTION

REDUCER_COUNT_LOW

public static final PigWarning REDUCER_COUNT_LOW

NULL_COUNTER_COUNT

public static final PigWarning NULL_COUNTER_COUNT

DELETE_FAILED

public static final PigWarning DELETE_FAILED

PROJECTION_INVALID_RANGE

public static final PigWarning PROJECTION_INVALID_RANGE
Method Detail

values

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

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

valueOf

public static PigWarning 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 © ${year} The Apache Software Foundation