Enum Class UnmappedResolution

java.lang.Object
java.lang.Enum<UnmappedResolution>
org.elasticsearch.xpack.esql.analysis.UnmappedResolution
All Implemented Interfaces:
Serializable, Comparable<UnmappedResolution>, Constable

public enum UnmappedResolution extends Enum<UnmappedResolution>
This is an unmapped-fields strategy discriminator.
  • Enum Constant Details

    • FAIL

      public static final UnmappedResolution FAIL
      Don't attempt to patch the plan: in case the query uses such a field not present in the index mapping, fail the query.
    • NULLIFY

      public static final UnmappedResolution NULLIFY
      In case the query references a field that's not present in the index mapping, alias this field to value null of type DataType.NULL
    • LOAD

      public static final UnmappedResolution LOAD
      In case the query references a field that's not present in the index mapping, attempt to load it from _source.
  • Method Details

    • values

      public static UnmappedResolution[] 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 UnmappedResolution 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