Interface DataPoint<V>
- Type Parameters:
V- the value type
- All Superinterfaces:
Comparable<TemporalPoint<V, DataPointType>>, SnapshotCapable, TemporalPoint<V, DataPointType>
- All Known Subinterfaces:
AggregatedPoint<V,A>, AtomicPoint<V>
- All Known Implementing Classes:
AggregatedDataPoint
public sealed interface DataPoint<V>
extends SnapshotCapable, TemporalPoint<V, DataPointType>
permits AggregatedPoint<V,A>, AtomicPoint<V>
A data point: an
AggregatedPoint or an AtomicPoint, with a value and a quality
code. It combines SnapshotCapable and TemporalPoint.-
Method Summary
Modifier and TypeMethodDescriptionquality()Returns the quality code.default DataPointTypetype()ReturnsStandardDataPointType.GENERICby default.@Nullable Vvalue()Returns the value, ornullif not set.Returns the class of the value, or empty if the value isnull.Methods inherited from interface SnapshotCapable
isSnapshot, snapshotTimestamp, withSnapshot, withSnapshotMethods inherited from interface TemporalPoint
compareTo, source, timestamp
-
Method Details
-
value
@Nullable V value()Returns the value, ornullif not set.- Specified by:
valuein interfaceTemporalPoint<V, DataPointType>
-
type
ReturnsStandardDataPointType.GENERICby default.- Specified by:
typein interfaceTemporalPoint<V, DataPointType>
-
quality
QualityCode quality()Returns the quality code. -
valueClass
-