Interface AggregatedPoint<V,A extends AggregationType>
- Type Parameters:
V- The type of the value contained in the aggregated data point.A- The type of the aggregation, extendingAggregationType.
- 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>
Represents an aggregated data point in the historian system.
This sealed interface extends DataPoint with a value type V and an aggregation type A.
It is restricted to the AggregatedDataPoint implementation and provides methods to retrieve the
aggregation type and the data point type.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the aggregation type of the aggregated data point.default DataPointTypetype()Retrieves the type of the data point.Methods inherited from interface com.inductiveautomation.historian.common.model.data.DataPoint
quality, value, valueClassMethods inherited from interface com.inductiveautomation.historian.common.model.data.SnapshotCapable
isSnapshot, snapshotTimestamp, withSnapshot, withSnapshotMethods inherited from interface com.inductiveautomation.historian.common.model.data.TemporalPoint
compareTo, source, timestamp
-
Method Details
-
aggregationType
A aggregationType()Retrieves the aggregation type of the aggregated data point.- Returns:
- The
AggregationTypeof the aggregated data point.
-
type
Retrieves the type of the data point.By default, this method returns
StandardDataPointType.AGGREGATED.- Specified by:
typein interfaceDataPoint<V>- Specified by:
typein interfaceTemporalPoint<V,A extends AggregationType> - Returns:
- The
DataPointTypeof the aggregated data point.
-