Class TimeSeriesCollapseExec

All Implemented Interfaces:
NamedWriteable, Writeable

public class TimeSeriesCollapseExec extends UnaryExec
Physical plan node corresponding to TimeSeriesCollapse. Produces one sparse multi-valued row per series from expanded PromQL input.
  • Field Details

  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Throws:
      IOException
    • getWriteableName

      public String getWriteableName()
    • value

      public Attribute value()
    • step

      public Attribute step()
    • dimensions

      public List<Attribute> dimensions()
    • start

      public long start()
    • end

      public long end()
    • stepMillis

      public long stepMillis()
    • output

      public List<Attribute> output()
      Description copied from class: QueryPlan
      The ordered list of attributes (i.e. columns) this plan produces when executed. Must be called only on resolved plans, otherwise may throw an exception or return wrong results.
      Overrides:
      output in class UnaryExec
    • info

      protected NodeInfo<TimeSeriesCollapseExec> info()
      Description copied from class: Node
      Normally, you want to use one of the static create methods to implement this.

      For QueryPlans, it is very important that the properties contain all of the expressions and references relevant to this node, and that all the properties are used in the provided constructor; otherwise query plan transformations like QueryPlan#transformExpressionsOnly(Function) will not have an effect.

      Specified by:
      info in class Node<PhysicalPlan>
    • replaceChild

      public TimeSeriesCollapseExec replaceChild(PhysicalPlan newChild)
      Specified by:
      replaceChild in class UnaryExec
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class UnaryExec
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class UnaryExec