Interface MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI,O,D,T>

Type Parameters:
I - the input data type
O - the output data type
D - the data point type within I and O
T - the timestamp type within I and O
All Superinterfaces:
MultiChannelTimeSeriesAggregator.CompletionFunction<T>
All Known Implementing Classes:
MultiChannelTimeSeriesAggregator.LambdaBasedAggregationFunction
Enclosing class:
MultiChannelTimeSeriesAggregator<I,CI,O,D,T>

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 Details

    • getTimestamp

      T getTimestamp(I input)
      Returns the aggregation timestamp from input.
      Parameters:
      input - the input data
      Returns:
      the timestamp from input
    • getCategory

      String getCategory(CI input)
      Returns the aggregation category from input.
      Parameters:
      input - the input data
      Returns:
      the category from input
    • getData

      D getData(CI input)
      Returns a data point from input.
      Parameters:
      input - the input data
      Returns:
      the data point from input
    • createResult

      MultiChannelTimeSeriesAggregator.ResultBuilder<O,D,T> createResult(int categoriesCount)
      Creates a result builder for composing a potentially multi-category result.
      Parameters:
      categoriesCount - the actual number of categories
      Returns:
      the result builder instance