java.lang.Object
org.elasticsearch.xpack.esql.plan.logical.promql.selector.Evaluation

public class Evaluation extends Object
Evaluation context for a PromQL selector, including the evaluation time and any offset to apply. The evaluation time is passed through the promql API while the rest of the parameters through the query directly. <implicit> offset <optional_offset> @ <optional_at>
  • Field Details

  • Constructor Details

    • Evaluation

      public Evaluation(Literal offset, boolean offsetNegative, Literal at)
  • Method Details

    • offset

      public Literal offset()
    • offsetDuration

      public Duration offsetDuration()
    • offsetNegative

      public boolean offsetNegative()
    • at

      public Literal at()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object