Class SlidingWindowAggregationOperator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.operator.process.SingleInputAggregationOperator
-
- org.apache.iotdb.db.mpp.execution.operator.process.SlidingWindowAggregationOperator
-
- All Implemented Interfaces:
java.lang.AutoCloseable,Operator,ProcessOperator
public class SlidingWindowAggregationOperator extends SingleInputAggregationOperator
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.execution.operator.process.SingleInputAggregationOperator
aggregators, ascending, canCallNext, child, curTimeRange, inputTsBlock, maxRetainedSize, maxReturnSize, operatorContext, resultTsBlockBuilder, timeRangeIterator
-
Fields inherited from interface org.apache.iotdb.db.mpp.execution.operator.Operator
NOT_BLOCKED
-
-
Constructor Summary
Constructors Constructor Description SlidingWindowAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, GroupByTimeParameter groupByTimeParameter, long maxReturnSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancalculateNextAggregationResult()-
Methods inherited from class org.apache.iotdb.db.mpp.execution.operator.process.SingleInputAggregationOperator
calculateMaxPeekMemory, calculateMaxReturnSize, calculateRetainedSizeAfterCallingNext, close, getOperatorContext, hasNext, isBlocked, isFinished, next, updateResultTsBlock
-
-
-
-
Constructor Detail
-
SlidingWindowAggregationOperator
public SlidingWindowAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, GroupByTimeParameter groupByTimeParameter, long maxReturnSize)
-
-
Method Detail
-
calculateNextAggregationResult
protected boolean calculateNextAggregationResult()
- Specified by:
calculateNextAggregationResultin classSingleInputAggregationOperator
-
-