xuyangzhong commented on code in PR #25861:
URL: https://github.com/apache/flink/pull/25861#discussion_r1918586989


##########
flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/window/tvf/common/WindowProcessor.java:
##########
@@ -18,22 +18,32 @@
 
 package org.apache.flink.table.runtime.operators.window.tvf.common;
 
-import org.apache.flink.annotation.Internal;
 import org.apache.flink.api.common.functions.RuntimeContext;
 import org.apache.flink.api.common.typeutils.TypeSerializer;
 import org.apache.flink.runtime.memory.MemoryManager;
-import org.apache.flink.runtime.state.KeyedStateBackend;
 import org.apache.flink.streaming.api.operators.InternalTimerService;
 import org.apache.flink.table.data.RowData;
+import 
org.apache.flink.table.runtime.operators.window.async.tvf.common.AsyncStateWindowProcessor;
 
 import java.io.Serializable;
 
-/** A processor that processes elements for windows. */
-@Internal
-public interface WindowProcessor<W> extends Serializable {
+/**
+ * A base window processor provides common methods used for {@link 
SyncStateWindowProcessor} and
+ * {@link AsyncStateWindowProcessor}.
+ *
+ * @param <W> the window type.
+ * @param <C> the context that provides some information for the window 
processor.
+ */
+public interface WindowProcessor<W, C extends WindowProcessor.Context<W>> 
extends Serializable {

Review Comment:
   Sure, updated



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to