public enum EvalType extends Enum<EvalType>
| Enum Constant and Description |
|---|
AGG_FUNCTION |
AND |
BETWEEN |
BIT_AND |
BIT_OR |
BIT_XOR |
CASE |
CAST |
CONCATENATE |
CONST |
DIVIDE |
EQUAL |
FIELD |
FUNCTION |
GEQ |
GTH |
IF_THEN |
IN |
IS_NULL |
LEQ |
LIKE |
LTH |
MINUS |
MODULAR |
MULTIPLY |
NOT |
NOT_EQUAL |
OR |
PLUS |
REGEX |
ROW_CONSTANT |
SIGNED |
SIMILAR_TO |
WINDOW_FUNCTION |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends EvalNode> |
getBaseClass() |
String |
getOperatorName() |
static boolean |
isArithmeticOperator(EvalType type) |
static boolean |
isBinaryOperator(EvalType type) |
static boolean |
isComparisonOperator(EvalType type) |
static boolean |
isFunction(EvalType type) |
static boolean |
isLogicalOperator(EvalType type) |
static boolean |
isStringPatternMatchOperator(EvalType type) |
static boolean |
isUnaryOperator(EvalType type) |
static EvalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvalType NOT
public static final EvalType AND
public static final EvalType OR
public static final EvalType EQUAL
public static final EvalType IS_NULL
public static final EvalType NOT_EQUAL
public static final EvalType LTH
public static final EvalType LEQ
public static final EvalType GTH
public static final EvalType GEQ
public static final EvalType PLUS
public static final EvalType MINUS
public static final EvalType MODULAR
public static final EvalType MULTIPLY
public static final EvalType DIVIDE
public static final EvalType BIT_AND
public static final EvalType BIT_OR
public static final EvalType BIT_XOR
public static final EvalType WINDOW_FUNCTION
public static final EvalType AGG_FUNCTION
public static final EvalType FUNCTION
public static final EvalType LIKE
public static final EvalType SIMILAR_TO
public static final EvalType REGEX
public static final EvalType CONCATENATE
public static final EvalType BETWEEN
public static final EvalType CASE
public static final EvalType IF_THEN
public static final EvalType IN
public static final EvalType SIGNED
public static final EvalType CAST
public static final EvalType ROW_CONSTANT
public static final EvalType FIELD
public static final EvalType CONST
public static EvalType[] values()
for (EvalType c : EvalType.values()) System.out.println(c);
public static EvalType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static boolean isUnaryOperator(EvalType type)
public static boolean isBinaryOperator(EvalType type)
public static boolean isLogicalOperator(EvalType type)
public static boolean isComparisonOperator(EvalType type)
public static boolean isArithmeticOperator(EvalType type)
public static boolean isFunction(EvalType type)
public static boolean isStringPatternMatchOperator(EvalType type)
public String getOperatorName()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.