Interface TemporalityAware
- All Known Implementing Classes:
DeltaOnlyHistogramMergeOverTime,HistogramMergeOverTime,Increase,Irate,LegacyIrate,Rate
public interface TemporalityAware
Marker interface for
TimeSeriesAggregateFunctions to identify classes of functions that operate
on the temporality field of an index.
Implementations of this interface need to expect the temporality Attribute to be passed after all regular arguments.
Implementations that also need the {code @timestamp} should additionally implement TimestampAware.-
Method Summary
Modifier and TypeMethodDescriptionThe current value for the temporality argument of the function.withTemporality(Expression temporality) Returns a copy of this function with the provided value as temporality argument.
-
Method Details
-
temporality
The current value for the temporality argument of the function. If this isnull, it will be injected automatically during local planning.- Returns:
- the current value for the temporality argument
-
withTemporality
Returns a copy of this function with the provided value as temporality argument.
-