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.
  • Enum Constant Details

    • YES

      public static final FilterPushdownSupport.Pushability YES
      The expression can be fully pushed to the source and removed from FilterExec. The source guarantees correct evaluation.
    • NO

      public static final FilterPushdownSupport.Pushability NO
      The expression cannot be pushed to the source and must remain in FilterExec.
    • RECHECK

      public static final FilterPushdownSupport.Pushability 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

      public static FilterPushdownSupport.Pushability[] 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

      public static FilterPushdownSupport.Pushability valueOf(String name)
      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 name
      NullPointerException - if the argument is null