接口 WindowFunction<I,​O>

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @Public
    @Stable
    @FunctionalInterface
    public interface WindowFunction<I,​O>
    This is the interface of the windowed function api. The process method is called for every triggered window.
    • 方法详细资料

      • process

        O process​(java.util.Collection<Record<I>> input,
                  WindowContext context)
           throws java.lang.Exception
        Process the input.
        返回:
        the output
        抛出:
        java.lang.Exception