public enum OperatorType extends Enum<OperatorType>
| Enum Constant and Description |
|---|
ADD |
BETWEEN |
CAST |
DIVIDE |
EQUAL |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
HASH_CODE |
INDETERMINATE |
IS_DISTINCT_FROM |
LESS_THAN |
LESS_THAN_OR_EQUAL |
MODULUS |
MULTIPLY |
NEGATION |
NOT_EQUAL |
SATURATED_FLOOR_CAST |
SUBSCRIPT |
SUBTRACT |
XX_HASH_64 |
| Modifier and Type | Method and Description |
|---|---|
static OperatorType |
flip(OperatorType operator) |
QualifiedObjectName |
getFunctionName() |
String |
getOperator() |
boolean |
isArithmeticOperator() |
boolean |
isCalledOnNullInput() |
boolean |
isComparisonOperator() |
static OperatorType |
negate(OperatorType operator) |
static Optional<OperatorType> |
tryGetOperatorType(QualifiedObjectName operatorName) |
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.
|
public static final OperatorType ADD
public static final OperatorType SUBTRACT
public static final OperatorType MULTIPLY
public static final OperatorType DIVIDE
public static final OperatorType MODULUS
public static final OperatorType NEGATION
public static final OperatorType EQUAL
public static final OperatorType NOT_EQUAL
public static final OperatorType LESS_THAN
public static final OperatorType LESS_THAN_OR_EQUAL
public static final OperatorType GREATER_THAN
public static final OperatorType GREATER_THAN_OR_EQUAL
public static final OperatorType BETWEEN
public static final OperatorType CAST
public static final OperatorType SUBSCRIPT
public static final OperatorType HASH_CODE
public static final OperatorType SATURATED_FLOOR_CAST
public static final OperatorType IS_DISTINCT_FROM
public static final OperatorType XX_HASH_64
public static final OperatorType INDETERMINATE
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType 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 String getOperator()
public QualifiedObjectName getFunctionName()
public boolean isCalledOnNullInput()
public boolean isComparisonOperator()
public boolean isArithmeticOperator()
public static Optional<OperatorType> tryGetOperatorType(QualifiedObjectName operatorName)
public static OperatorType flip(OperatorType operator)
public static OperatorType negate(OperatorType operator)
Copyright © 2012–2022. All rights reserved.