Uses of Class
org.apache.iotdb.db.mpp.aggregation.Aggregator
-
-
Uses of Aggregator in org.apache.iotdb.db.mpp.aggregation.slidingwindow
Subclasses of Aggregator in org.apache.iotdb.db.mpp.aggregation.slidingwindow Modifier and Type Class Description classEmptyQueueSlidingWindowAggregatorWhen calculating MAX_TIME and LAST_VALUE (the MIN_TIME and FIRST_VALUE in descending order), the aggregation result always appears in the most recent pre-aggregation result.classMonotonicQueueSlidingWindowAggregatorWhen computing MAX_VALUE, MIN_VALUE, EXTREME, we only add partial aggregation results that maintain monotonicity to queue.classNormalQueueSlidingWindowAggregatorWhen calculating MIN_TIME and FIRST_VALUE (MAX_TIME and LAST_VALUE in descending order), the aggregated result always appears at the head of the queue.classSlidingWindowAggregatorclassSmoothQueueSlidingWindowAggregatorThe aggregation result is calculated from all pre-aggregation results in the currently maintained queue when calculating the COUNT, SUM, and AVG. -
Uses of Aggregator in org.apache.iotdb.db.mpp.execution.operator
Method parameters in org.apache.iotdb.db.mpp.execution.operator with type arguments of type Aggregator Modifier and Type Method Description static voidAggregationUtil. appendAggregationResult(org.apache.iotdb.tsfile.read.common.block.TsBlockBuilder tsBlockBuilder, java.util.List<? extends Aggregator> aggregators, ITimeRangeIterator timeRangeIterator)Append a row of aggregation results to the result tsBlock.static org.apache.iotdb.tsfile.utils.Pair<java.lang.Boolean,org.apache.iotdb.tsfile.read.common.block.TsBlock>AggregationUtil. calculateAggregationFromRawData(org.apache.iotdb.tsfile.read.common.block.TsBlock inputTsBlock, java.util.List<Aggregator> aggregators, org.apache.iotdb.tsfile.read.common.TimeRange curTimeRange, boolean ascending)Calculate aggregation value on the time range from the tsBlock containing raw data.static longAggregationUtil. calculateMaxAggregationResultSizeForLastQuery(java.util.List<Aggregator> aggregators, org.apache.iotdb.commons.path.PartialPath inputSeriesPath)static booleanAggregationUtil. isAllAggregatorsHasFinalResult(java.util.List<Aggregator> aggregators) -
Uses of Aggregator in org.apache.iotdb.db.mpp.execution.operator.process
Fields in org.apache.iotdb.db.mpp.execution.operator.process with type parameters of type Aggregator Modifier and Type Field Description protected java.util.List<Aggregator>SingleInputAggregationOperator. aggregatorsConstructor parameters in org.apache.iotdb.db.mpp.execution.operator.process with type arguments of type Aggregator Constructor Description AggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, java.util.List<Operator> children, long maxReturnSize)RawDataAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, long maxReturnSize)SingleInputAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, Operator child, boolean ascending, ITimeRangeIterator timeRangeIterator, long maxReturnSize)SlidingWindowAggregationOperator(OperatorContext operatorContext, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, Operator child, boolean ascending, GroupByTimeParameter groupByTimeParameter, long maxReturnSize) -
Uses of Aggregator in org.apache.iotdb.db.mpp.execution.operator.process.last
Methods in org.apache.iotdb.db.mpp.execution.operator.process.last that return types with arguments of type Aggregator Modifier and Type Method Description static java.util.List<Aggregator>LastQueryUtil. createAggregators(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType) -
Uses of Aggregator in org.apache.iotdb.db.mpp.execution.operator.source
Fields in org.apache.iotdb.db.mpp.execution.operator.source with type parameters of type Aggregator Modifier and Type Field Description protected java.util.List<Aggregator>AbstractSeriesAggregationScanOperator. aggregatorsConstructor parameters in org.apache.iotdb.db.mpp.execution.operator.source with type arguments of type Aggregator Constructor Description AbstractSeriesAggregationScanOperator(PlanNodeId sourceId, OperatorContext context, SeriesScanUtil seriesScanUtil, int subSensorSize, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, boolean ascending, GroupByTimeParameter groupByTimeParameter, long maxReturnSize)AlignedSeriesAggregationScanOperator(PlanNodeId sourceId, AlignedPath seriesPath, OperatorContext context, java.util.List<Aggregator> aggregators, ITimeRangeIterator timeRangeIterator, org.apache.iotdb.tsfile.read.filter.basic.Filter timeFilter, boolean ascending, GroupByTimeParameter groupByTimeParameter, long maxReturnSize)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)
-