Enum Class VectorBinarySet.SetOp

java.lang.Object
java.lang.Enum<VectorBinarySet.SetOp>
org.elasticsearch.xpack.esql.plan.logical.promql.operator.VectorBinarySet.SetOp
All Implemented Interfaces:
Serializable, Comparable<VectorBinarySet.SetOp>, Constable, VectorBinaryOperator.BinaryOp
Enclosing class:
VectorBinarySet

public static enum VectorBinarySet.SetOp extends Enum<VectorBinarySet.SetOp> implements VectorBinaryOperator.BinaryOp
  • Enum Constant Details

  • Method Details

    • values

      public static VectorBinarySet.SetOp[] 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 VectorBinarySet.SetOp 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
    • keyword

      public String keyword()
      The PromQL keyword for this operator (and/unless/or), as used in error messages.
    • asFunction

      Specified by:
      asFunction in interface VectorBinaryOperator.BinaryOp