Class SeriesAggregationScanOperator

  • All Implemented Interfaces:
    java.lang.AutoCloseable, Operator, DataSourceOperator, SourceOperator

    public class SeriesAggregationScanOperator
    extends AbstractSeriesAggregationScanOperator
    This operator is responsible to do the aggregation calculation for one series based on global time range and time split parameter.

    Every time next() is invoked, one tsBlock which contains many time windows will be returned. In sliding window situation, current time window is a pre-aggregation window. If there is no time split parameter, i.e. aggregation without groupBy, just one tsBlock will be returned.

    • Constructor Detail

      • SeriesAggregationScanOperator

        public SeriesAggregationScanOperator​(PlanNodeId sourceId,
                                             org.apache.iotdb.commons.path.PartialPath seriesPath,
                                             java.util.Set<java.lang.String> allSensors,
                                             OperatorContext context,
                                             java.util.List<Aggregator> aggregators,
                                             ITimeRangeIterator timeRangeIterator,
                                             org.apache.iotdb.tsfile.read.filter.basic.Filter timeFilter,
                                             boolean ascending,
                                             GroupByTimeParameter groupByTimeParameter,
                                             long maxReturnSize)