Interface AggregatedPoint<V, A extends AggregationType>
- Type Parameters:
V- the value typeA- the aggregation type
- All Superinterfaces:
Comparable<TemporalPoint<V, DataPointType>>, DataPoint<V>, SnapshotCapable, TemporalPoint<V, DataPointType>
- All Known Implementing Classes:
AggregatedDataPoint
public sealed interface AggregatedPoint<V, A extends AggregationType>
extends DataPoint<V>
permits AggregatedDataPoint<V,A>
A
DataPoint holding an aggregate of a window; AggregatedDataPoint is the only
implementation.-
Method Summary
Modifier and TypeMethodDescriptionReturns the aggregation type.extent()Returns the first and last stored samples of this point's window, or empty if the engine did not supply them.default DataPointTypetype()ReturnsStandardDataPointType.AGGREGATED.Methods inherited from interface DataPoint
quality, value, valueClassMethods inherited from interface SnapshotCapable
isSnapshot, snapshotTimestamp, withSnapshot, withSnapshotMethods inherited from interface TemporalPoint
compareTo, source, timestamp
-
Method Details
-
aggregationType
A aggregationType()Returns the aggregation type. -
extent
Optional<WindowExtent> extent()Returns the first and last stored samples of this point's window, or empty if the engine did not supply them. -
type
ReturnsStandardDataPointType.AGGREGATED.- Specified by:
typein interfaceDataPoint<V>- Specified by:
typein interfaceTemporalPoint<V, A extends AggregationType>
-