org.apache.pig
Enum Expression.OpType

java.lang.Object
  extended by java.lang.Enum<Expression.OpType>
      extended by org.apache.pig.Expression.OpType
All Implemented Interfaces:
Serializable, Comparable<Expression.OpType>
Enclosing class:
Expression

public static enum Expression.OpType
extends Enum<Expression.OpType>


Enum Constant Summary
OP_AND
           
OP_DIV
           
OP_EQ
           
OP_GE
           
OP_GT
           
OP_LE
           
OP_LT
           
OP_MATCH
           
OP_MINUS
           
OP_MOD
           
OP_NE
           
OP_OR
           
OP_PLUS
           
OP_TIMES
           
TERM_COL
           
TERM_CONST
           
 
Method Summary
 String toString()
           
static Expression.OpType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Expression.OpType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OP_PLUS

public static final Expression.OpType OP_PLUS

OP_MINUS

public static final Expression.OpType OP_MINUS

OP_TIMES

public static final Expression.OpType OP_TIMES

OP_DIV

public static final Expression.OpType OP_DIV

OP_MOD

public static final Expression.OpType OP_MOD

OP_EQ

public static final Expression.OpType OP_EQ

OP_NE

public static final Expression.OpType OP_NE

OP_GT

public static final Expression.OpType OP_GT

OP_GE

public static final Expression.OpType OP_GE

OP_LT

public static final Expression.OpType OP_LT

OP_LE

public static final Expression.OpType OP_LE

OP_MATCH

public static final Expression.OpType OP_MATCH

OP_AND

public static final Expression.OpType OP_AND

OP_OR

public static final Expression.OpType OP_OR

TERM_COL

public static final Expression.OpType TERM_COL

TERM_CONST

public static final Expression.OpType TERM_CONST
Method Detail

values

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

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

valueOf

public static Expression.OpType 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

toString

public String toString()
Overrides:
toString in class Enum<Expression.OpType>


Copyright © 2007-2012 The Apache Software Foundation