org.apache.hadoop.hive.ql.plan.api
Enum OperatorType

java.lang.Object
  extended by java.lang.Enum<OperatorType>
      extended by 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


Enum Constant Summary
DEMUX
           
EXTRACT
           
FILESINK
           
FILTER
           
FORWARD
           
GROUPBY
           
HASHTABLEDUMMY
           
HASHTABLESINK
           
JOIN
           
LATERALVIEWFORWARD
           
LATERALVIEWJOIN
           
LIMIT
           
MAPJOIN
           
MUX
           
PTF
           
REDUCESINK
           
SCRIPT
           
SELECT
           
TABLESCAN
           
UDTF
           
UNION
           
 
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.
 
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

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

PTF

public static final OperatorType PTF

MUX

public static final OperatorType MUX

DEMUX

public static final OperatorType DEMUX
Method Detail

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 © 2012 The Apache Software Foundation