Interface WindowProcessor<W,​C extends WindowProcessor.Context<W>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      The tear-down method of the function.
      org.apache.flink.api.common.typeutils.TypeSerializer<W> createWindowSerializer()
      Returns the serializer of the window type.
      void initializeWatermark​(long watermark)
      Initializes the watermark which restores from state.
      void open​(C context)
      Initialization method for the function.
    • Method Detail

      • open

        void open​(C context)
           throws Exception
        Initialization method for the function. It is called before the actual working methods.
        Throws:
        Exception
      • close

        void close()
            throws Exception
        The tear-down method of the function. It is called after the last call to the main working methods.
        Throws:
        Exception
      • initializeWatermark

        void initializeWatermark​(long watermark)
        Initializes the watermark which restores from state. The method is called after open method and before the actual working methods.
        Parameters:
        watermark - the initial watermark
      • createWindowSerializer

        org.apache.flink.api.common.typeutils.TypeSerializer<W> createWindowSerializer()
        Returns the serializer of the window type.