ZhanGHanG9991 commented on code in PR #7693:
URL: https://github.com/apache/iotdb/pull/7693#discussion_r1064271315


##########
server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/window/IWindowManager.java:
##########
@@ -88,4 +88,27 @@ public interface IWindowManager {
    * @return whether there are extra points for the next window
    */
   boolean isTsBlockOutOfBound(TsBlock inputTsBlock);
+
+  default List<TSDataType> getResultDataTypes(List<Aggregator> aggregators) {
+    List<TSDataType> dataTypes = new ArrayList<>();
+    for (Aggregator aggregator : aggregators) {
+      dataTypes.addAll(Arrays.asList(aggregator.getOutputType()));
+    }
+    return dataTypes;
+  }
+
+  TsBlockBuilder createResultTsBlockBuilder(List<Aggregator> aggregators);
+
+  void appendAggregationResult(TsBlockBuilder resultTsBlockBuilder, 
List<Aggregator> aggregators);
+
+  boolean notInitedLastTimeWindow();

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to