Package org.apache.iceberg.expressions
Enum Expression.Operation
- java.lang.Object
-
- java.lang.Enum<Expression.Operation>
-
- org.apache.iceberg.expressions.Expression.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Expression.Operation>
- Enclosing interface:
- Expression
public static enum Expression.Operation extends java.lang.Enum<Expression.Operation>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression.Operation
flipLR()
Returns the equivalent operation when the left and right operands are exchanged.static Expression.Operation
fromString(java.lang.String operationType)
Expression.Operation
negate()
Returns the operation used when this is negated.static Expression.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Expression.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final Expression.Operation TRUE
-
FALSE
public static final Expression.Operation FALSE
-
IS_NULL
public static final Expression.Operation IS_NULL
-
NOT_NULL
public static final Expression.Operation NOT_NULL
-
IS_NAN
public static final Expression.Operation IS_NAN
-
NOT_NAN
public static final Expression.Operation NOT_NAN
-
LT
public static final Expression.Operation LT
-
LT_EQ
public static final Expression.Operation LT_EQ
-
GT
public static final Expression.Operation GT
-
GT_EQ
public static final Expression.Operation GT_EQ
-
EQ
public static final Expression.Operation EQ
-
NOT_EQ
public static final Expression.Operation NOT_EQ
-
IN
public static final Expression.Operation IN
-
NOT_IN
public static final Expression.Operation NOT_IN
-
NOT
public static final Expression.Operation NOT
-
AND
public static final Expression.Operation AND
-
OR
public static final Expression.Operation OR
-
STARTS_WITH
public static final Expression.Operation STARTS_WITH
-
NOT_STARTS_WITH
public static final Expression.Operation NOT_STARTS_WITH
-
COUNT
public static final Expression.Operation COUNT
-
COUNT_STAR
public static final Expression.Operation COUNT_STAR
-
MAX
public static final Expression.Operation MAX
-
MIN
public static final Expression.Operation MIN
-
-
Method Detail
-
values
public static Expression.Operation[] 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.Operation c : Expression.Operation.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.Operation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static Expression.Operation fromString(java.lang.String operationType)
-
negate
public Expression.Operation negate()
Returns the operation used when this is negated.
-
flipLR
public Expression.Operation flipLR()
Returns the equivalent operation when the left and right operands are exchanged.
-
-