Class SimpleLinearRegressionWithTimeseries

java.lang.Object
org.elasticsearch.compute.aggregation.SimpleLinearRegressionWithTimeseries
All Implemented Interfaces:
Closeable, AutoCloseable, AggregatorState, org.elasticsearch.core.Releasable

public class SimpleLinearRegressionWithTimeseries extends Object implements AggregatorState
  • Method Details

    • toIntermediate

      public void toIntermediate(Block[] blocks, int offset, DriverContext driverContext)
      Description copied from interface: AggregatorState
      Extracts an intermediate view of the contents of this state.
      Specified by:
      toIntermediate in interface AggregatorState
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable
    • slope

      public double slope()
    • intercept

      public double intercept()