Enum SubstraitOperator
- java.lang.Object
-
- java.lang.Enum<SubstraitOperator>
-
- com.amazonaws.athena.connector.substrait.model.SubstraitOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<SubstraitOperator>
public enum SubstraitOperator extends Enum<SubstraitOperator>
Represents a subset of Substrait-supported operators for query federation. This enum contains only the commonly used operators that are supported by the Athena Query Federation framework. The full Substrait specification includes many more operators, We will extend more operators as we need.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
EQUAL
GREATER_THAN
GREATER_THAN_OR_EQUAL_TO
IS_NOT_NULL
IS_NULL
LESS_THAN
LESS_THAN_OR_EQUAL_TO
NOT
NOT_EQUAL
OR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSymbol()
static SubstraitOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubstraitOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final SubstraitOperator EQUAL
-
NOT_EQUAL
public static final SubstraitOperator NOT_EQUAL
-
GREATER_THAN
public static final SubstraitOperator GREATER_THAN
-
LESS_THAN
public static final SubstraitOperator LESS_THAN
-
GREATER_THAN_OR_EQUAL_TO
public static final SubstraitOperator GREATER_THAN_OR_EQUAL_TO
-
LESS_THAN_OR_EQUAL_TO
public static final SubstraitOperator LESS_THAN_OR_EQUAL_TO
-
IS_NULL
public static final SubstraitOperator IS_NULL
-
IS_NOT_NULL
public static final SubstraitOperator IS_NOT_NULL
-
AND
public static final SubstraitOperator AND
-
OR
public static final SubstraitOperator OR
-
NOT
public static final SubstraitOperator NOT
-
-
Method Detail
-
values
public static SubstraitOperator[] 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 (SubstraitOperator c : SubstraitOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubstraitOperator 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 nameNullPointerException
- if the argument is null
-
getSymbol
public String getSymbol()
-
-