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 DataPointType
type()
Retrieves the type of the data point.Methods inherited from interface com.inductiveautomation.historian.common.model.data.DataPoint
quality, value, valueClass
Methods inherited from interface com.inductiveautomation.historian.common.model.data.SnapshotCapable
isSnapshot, snapshotTimestamp, withSnapshot, withSnapshot
Methods 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
AggregationType
of the aggregated data point.
-
type
Retrieves the type of the data point.By default, this method returns
StandardDataPointType.AGGREGATED
.- Specified by:
type
in interfaceDataPoint<V>
- Specified by:
type
in interfaceTemporalPoint<V,
A extends AggregationType> - Returns:
- The
DataPointType
of the aggregated data point.
-