Class AggregatedDataPoint.Builder<V, A extends AggregationType>
java.lang.Object
com.inductiveautomation.historian.common.model.data.AggregatedDataPoint.Builder<V,A>
- Type Parameters:
V- the value type.A- the aggregation type.
- Enclosing class:
AggregatedDataPoint<V, A extends AggregationType>
Builder for
AggregatedDataPoint.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the point.quality(QualityCode quality) Sets the quality.snapshotTimestamp(Instant snapshotTimestamp) Sets the snapshot timestamp.Sets the timestamp.Sets the value.
-
Method Details
-
value
Sets the value.- Parameters:
value- the value.- Returns:
- this builder.
-
quality
Sets the quality.- Parameters:
quality- the quality.- Returns:
- this builder.
-
timestamp
Sets the timestamp.- Parameters:
timestamp- the timestamp.- Returns:
- this builder.
-
snapshotTimestamp
Sets the snapshot timestamp.- Parameters:
snapshotTimestamp- the snapshot timestamp.- Returns:
- this builder.
-
build
Builds the point.- Returns:
- the new point.
- Throws:
IllegalStateException- if a required field is missing.
-