Class ChannelTimeSeriesAggregator<I,O,D,T>
java.lang.Object
de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator<I,I,O,D,T>
de.iip_ecosphere.platform.kiServices.functions.aggregation.ChannelTimeSeriesAggregator<I,O,D,T>
- Type Parameters:
I- the input data typeO- the output data typeD- the data point type withinIandOT- the timestamp type withinIandO
public class ChannelTimeSeriesAggregator<I,O,D,T>
extends MultiChannelTimeSeriesAggregator<I,I,O,D,T>
Generic single-data-point time series aggregator for identified channels.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator
MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI, O, D, T>, MultiChannelTimeSeriesAggregator.ArrayIterator<I>, MultiChannelTimeSeriesAggregator.CompletionFunction<T>, MultiChannelTimeSeriesAggregator.LambdaBasedAggregationFunction<I, CI, O, D, T>, MultiChannelTimeSeriesAggregator.ResultBuilder<O, D, T>, MultiChannelTimeSeriesAggregator.SingleValueIterator<I> -
Constructor Summary
ConstructorsConstructorDescriptionChannelTimeSeriesAggregator(boolean isAggregating, MultiChannelTimeSeriesAggregator.AggregationFunction<I, I, O, D, T> function) Creates a new instance for single data points.ChannelTimeSeriesAggregator(MultiChannelTimeSeriesAggregator.AggregationFunction<I, I, O, D, T> function) Creates a not-yet-aggregating instance. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator
isAggregating, process, startAggregating, stopAggregating
-
Constructor Details
-
ChannelTimeSeriesAggregator
public ChannelTimeSeriesAggregator(MultiChannelTimeSeriesAggregator.AggregationFunction<I, I, O, D, T> function) Creates a not-yet-aggregating instance.- Parameters:
function- the aggreation function- Throws:
IllegalArgumentException- iffunctionis not given
-
ChannelTimeSeriesAggregator
public ChannelTimeSeriesAggregator(boolean isAggregating, MultiChannelTimeSeriesAggregator.AggregationFunction<I, I, O, D, T> function) Creates a new instance for single data points.- Parameters:
isAggregating- whether aggregation shall start immediatelyfunction- the aggregation function- Throws:
IllegalArgumentException- iffunctionis not given
-
-
Method Details