Class RawDataAggregationOperator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.operator.process.SingleInputAggregationOperator
-
- org.apache.iotdb.db.mpp.execution.operator.process.RawDataAggregationOperator
-
- All Implemented Interfaces:
java.lang.AutoCloseable,Operator,ProcessOperator
public class RawDataAggregationOperator extends SingleInputAggregationOperator
RawDataAggregationOperator is used to process raw data tsBlock input calculating using value filter. It's possible that there is more than one tsBlock input in one time interval. And it's also possible that one tsBlock can cover multiple time intervals too.Since raw data query with value filter is processed by FilterOperator above TimeJoinOperator, there we can see RawDataAggregateOperator as a one-to-one(one input, ont output) operator.
Return aggregation result in many time intervals once.
-
-
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 RawDataAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, 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
-
RawDataAggregationOperator
public RawDataAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, long maxReturnSize)
-
-
Method Detail
-
calculateNextAggregationResult
protected boolean calculateNextAggregationResult()
- Specified by:
calculateNextAggregationResultin classSingleInputAggregationOperator
-
-