Skip to content

Commit 91a0e39

Browse files
Weixiang SunWeixiang Sun
authored andcommitted
Add more javadoc.
1 parent 2065e58 commit 91a0e39

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

pinot-core/src/main/java/org/apache/pinot/core/query/reduce/CountGapfillProcessor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030

3131
/**
3232
* Helper class to reduce and set gap fill results into the BrokerResponseNative
33+
*
34+
* {@link CountGapfillProcessor} is only applying the count aggregation function on the gapfilled result for each time
35+
* bucket.
36+
*
37+
* {@link CountGapfillProcessor} is different from {@link GapfillProcessor} that {@link GapfillProcessor} will create
38+
* the gapfilled entries, but {@link CountGapfillProcessor} does not generate the gapfilled entries. It just updated
39+
* the aggregated count as necessary.
3340
*/
3441
class CountGapfillProcessor extends BaseGapfillProcessor {
3542
protected final Set<Key> _filteredSet;

pinot-core/src/main/java/org/apache/pinot/core/query/reduce/SumAvgGapfillProcessor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030

3131
/**
3232
* Helper class to reduce and set gap fill results into the BrokerResponseNative
33+
*
34+
* {@link SumAvgGapfillProcessor} is only applying the sum and/or avg aggregation function on the gapfilled result for
35+
* each time bucket.
36+
*
37+
* {@link SumAvgGapfillProcessor} is different from {@link GapfillProcessor} that {@link GapfillProcessor} will create
38+
* the gapfilled entries, but {@link SumAvgGapfillProcessor} does not generate the gapfilled entries. It just updated
39+
* the aggregated sum and/or avg counters as necessary.
3340
*/
3441
class SumAvgGapfillProcessor extends BaseGapfillProcessor {
3542
private final double [] _sumes;

0 commit comments

Comments
 (0)