org.apache.hadoop.hive.ql.exec
Enum FunctionInfo.OperatorType

java.lang.Object
  extended by java.lang.Enum<FunctionInfo.OperatorType>
      extended by org.apache.hadoop.hive.ql.exec.FunctionInfo.OperatorType
All Implemented Interfaces:
Serializable, Comparable<FunctionInfo.OperatorType>
Enclosing class:
FunctionInfo

public static enum FunctionInfo.OperatorType
extends Enum<FunctionInfo.OperatorType>


Enum Constant Summary
INFIX
           
NO_OP
           
POSTFIX
           
PREFIX
           
 
Method Summary
static FunctionInfo.OperatorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FunctionInfo.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

NO_OP

public static final FunctionInfo.OperatorType NO_OP

PREFIX

public static final FunctionInfo.OperatorType PREFIX

INFIX

public static final FunctionInfo.OperatorType INFIX

POSTFIX

public static final FunctionInfo.OperatorType POSTFIX
Method Detail

values

public static FunctionInfo.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 (FunctionInfo.OperatorType c : FunctionInfo.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 FunctionInfo.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


Copyright © 2009 The Apache Software Foundation