Class SeriesAggregationScanOperator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator
-
- org.apache.iotdb.db.mpp.execution.operator.source.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.
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator
aggregators, ascending, curTimeRange, finished, inputTsBlock, isGroupByQuery, operatorContext, resultTsBlockBuilder, seriesScanUtil, sourceId, subSensorSize, timeRangeIterator
-
Fields inherited from interface org.apache.iotdb.db.mpp.execution.operator.Operator
NOT_BLOCKED
-
-
Constructor Summary
Constructors Constructor Description 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)
-
Method Summary
-
Methods inherited from class org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator
calcFromCachedData, calcFromStatistics, calculateMaxPeekMemory, calculateMaxReturnSize, calculateNextAggregationResult, calculateRetainedSizeAfterCallingNext, canUseCurrentChunkStatistics, canUseCurrentFileStatistics, canUseCurrentPageStatistics, getOperatorContext, getSourceId, hasNext, initQueryDataSource, isFinished, next, readAndCalcFromChunk, readAndCalcFromFile, readAndCalcFromPage, updateResultTsBlock
-
-
-
-
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)
-
-