Module org.elasticsearch.compute
Class SimpleLinearRegressionWithTimeseries
java.lang.Object
org.elasticsearch.compute.aggregation.SimpleLinearRegressionWithTimeseries
- All Implemented Interfaces:
Closeable,AutoCloseable,AggregatorState,org.elasticsearch.core.Releasable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()doubledoubleslope()voidtoIntermediate(Block[] blocks, int offset, DriverContext driverContext) Extracts an intermediate view of the contents of this state.
-
Method Details
-
toIntermediate
Description copied from interface:AggregatorStateExtracts an intermediate view of the contents of this state.- Specified by:
toIntermediatein interfaceAggregatorState
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-
slope
public double slope() -
intercept
public double intercept()
-