Package net.solarnetwork.domain.datum
Interface AggregateStreamDatum
- All Superinterfaces:
StreamDatum
- All Known Implementing Classes:
BasicAggregateStreamDatum
API for an object that represents an aggregation of individual
StreamDatum within a unique stream over a specific period of time and
a set of property values and associated aggregate statistics.- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionGet the associated timestamp for the end of the aggregate period covered by this datum (exclusive).Get the property statistics.Methods inherited from interface net.solarnetwork.domain.datum.StreamDatum
getProperties, getStreamId, getTimestamp
-
Method Details
-
getEndTimestamp
Instant getEndTimestamp()Get the associated timestamp for the end of the aggregate period covered by this datum (exclusive).The
StreamDatum.getTimestamp()value represents the start of the aggregate period covered by this datum (inclusive).- Returns:
- the end timestamp for this datum
-
getStatistics
DatumPropertiesStatistics getStatistics()Get the property statistics.- Returns:
- the statistics
-