Class IncrementalDataAggregator


  • public class IncrementalDataAggregator
    extends Object
    This class implements the logic to aggregate data that is in-memory or in tables, in incremental data processing.

    In-memory data is required to be aggregated when retrieving values from an aggregate. Table data (tables used to persist incremental aggregates) needs to be aggregated when querying aggregate data from a different server (apart from the server, which was used to define the aggregation).

    • Constructor Detail

      • IncrementalDataAggregator

        public IncrementalDataAggregator​(List<io.siddhi.query.api.aggregation.TimePeriod.Duration> incrementalDurations,
                                         io.siddhi.query.api.aggregation.TimePeriod.Duration durationToAggregate,
                                         long oldestEventTimestamp,
                                         List<ExpressionExecutor> baseExecutorsForFind,
                                         ExpressionExecutor shouldUpdateTimestamp,
                                         boolean groupBy,
                                         MetaStreamEvent metaStreamEvent,
                                         String timeZone)