org.apache.pig
Enum Expression.OpType
java.lang.Object
java.lang.Enum<Expression.OpType>
org.apache.pig.Expression.OpType
- All Implemented Interfaces:
- Serializable, Comparable<Expression.OpType>
- Enclosing class:
- Expression
public static enum Expression.OpType
- extends Enum<Expression.OpType>
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
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