Interface MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI,O,D,T>
- Type Parameters:
I- the input data typeO- the output data typeD- the data point type withinIandOT- the timestamp type withinIandO
- All Superinterfaces:
MultiChannelTimeSeriesAggregator.CompletionFunction<T>
- All Known Implementing Classes:
MultiChannelTimeSeriesAggregator.LambdaBasedAggregationFunction
public static interface MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI,O,D,T>
extends MultiChannelTimeSeriesAggregator.CompletionFunction<T>
Represents the data format independent access to aggregation data for single data points.
Individual information may be ignored depending on the actual aggregation.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptioncreateResult(int categoriesCount) Creates a result builder for composing a potentially multi-category result.getCategory(CI input) Returns the aggregation category frominput.Returns a data point frominput.getTimestamp(I input) Returns the aggregation timestamp frominput.Methods inherited from interface de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator.CompletionFunction
chunkCompleted
-
Method Details
-
getTimestamp
Returns the aggregation timestamp frominput.- Parameters:
input- the input data- Returns:
- the timestamp from
input
-
getCategory
Returns the aggregation category frominput.- Parameters:
input- the input data- Returns:
- the category from
input
-
getData
Returns a data point frominput.- Parameters:
input- the input data- Returns:
- the data point from
input
-
createResult
Creates a result builder for composing a potentially multi-category result.- Parameters:
categoriesCount- the actual number of categories- Returns:
- the result builder instance
-