Interface WindowFunction<I,​O>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @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.
    • Method Detail

      • process

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