public class IncrementalDataAggregator extends Object
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 and Description |
|---|
IncrementalDataAggregator(List<org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration> incrementalDurations,
org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration aggregateForDuration,
long oldestEventTimeStamp,
List<ExpressionExecutor> baseExecutors,
MetaStreamEvent metaStreamEvent,
SiddhiAppContext siddhiAppContext,
ExpressionExecutor shouldUpdateExpressionExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ComplexEventChunk<StreamEvent> |
aggregateInMemoryData(Map<org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration,IncrementalExecutor> incrementalExecutorMap) |
public IncrementalDataAggregator(List<org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration> incrementalDurations, org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration aggregateForDuration, long oldestEventTimeStamp, List<ExpressionExecutor> baseExecutors, MetaStreamEvent metaStreamEvent, SiddhiAppContext siddhiAppContext, ExpressionExecutor shouldUpdateExpressionExecutor)
public ComplexEventChunk<StreamEvent> aggregateInMemoryData(Map<org.wso2.siddhi.query.api.aggregation.TimePeriod.Duration,IncrementalExecutor> incrementalExecutorMap)
Copyright © 2019 WSO2. All rights reserved.