Enum Class FilterPushdownSupport.Pushability
java.lang.Object
java.lang.Enum<FilterPushdownSupport.Pushability>
org.elasticsearch.xpack.esql.datasources.spi.FilterPushdownSupport.Pushability
- All Implemented Interfaces:
Serializable,Comparable<FilterPushdownSupport.Pushability>,Constable
- Enclosing interface:
FilterPushdownSupport
public static enum FilterPushdownSupport.Pushability
extends Enum<FilterPushdownSupport.Pushability>
Indicates whether an expression can be pushed to the data source.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe expression cannot be pushed to the source and must remain in FilterExec.The expression can be pushed for efficiency (e.g., partition pruning), but must also remain in FilterExec for correctness.The expression can be fully pushed to the source and removed from FilterExec. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FilterPushdownSupport.Pushability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YES
The expression can be fully pushed to the source and removed from FilterExec. The source guarantees correct evaluation. -
NO
The expression cannot be pushed to the source and must remain in FilterExec. -
RECHECK
The expression can be pushed for efficiency (e.g., partition pruning), but must also remain in FilterExec for correctness.This is useful when the source can use the filter for optimization (like skipping files) but cannot guarantee exact semantics.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-