org.apache.hadoop.hive.ql.plan.api
Enum OperatorType
java.lang.Object
java.lang.Enum<OperatorType>
org.apache.hadoop.hive.ql.plan.api.OperatorType
- All Implemented Interfaces:
- Serializable, Comparable<OperatorType>, org.apache.thrift.TEnum
public enum OperatorType
- extends Enum<OperatorType>
- implements org.apache.thrift.TEnum
Method Summary |
static OperatorType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static OperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JOIN
public static final OperatorType JOIN
MAPJOIN
public static final OperatorType MAPJOIN
EXTRACT
public static final OperatorType EXTRACT
FILTER
public static final OperatorType FILTER
FORWARD
public static final OperatorType FORWARD
GROUPBY
public static final OperatorType GROUPBY
LIMIT
public static final OperatorType LIMIT
SCRIPT
public static final OperatorType SCRIPT
SELECT
public static final OperatorType SELECT
TABLESCAN
public static final OperatorType TABLESCAN
FILESINK
public static final OperatorType FILESINK
REDUCESINK
public static final OperatorType REDUCESINK
UNION
public static final OperatorType UNION
UDTF
public static final OperatorType UDTF
LATERALVIEWJOIN
public static final OperatorType LATERALVIEWJOIN
LATERALVIEWFORWARD
public static final OperatorType LATERALVIEWFORWARD
HASHTABLESINK
public static final OperatorType HASHTABLESINK
HASHTABLEDUMMY
public static final OperatorType HASHTABLEDUMMY
values
public static OperatorType[] 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 (OperatorType c : OperatorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OperatorType 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
getValue
public int getValue()
- Get the integer value of this enum value, as defined in the Thrift IDL.
- Specified by:
getValue
in interface org.apache.thrift.TEnum
findByValue
public static OperatorType findByValue(int value)
- Find a the enum type by its integer value, as defined in the Thrift IDL.
- Returns:
- null if the value is not found.
Copyright © 2011 The Apache Software Foundation