Class GroupWindowAssigner<W extends Window>

    • Constructor Detail

      • GroupWindowAssigner

        public GroupWindowAssigner()
    • Method Detail

      • assignWindows

        public abstract Collection<W> assignWindows​(org.apache.flink.table.data.RowData element,
                                                    long timestamp)
                                             throws IOException
        Given the timestamp and element, returns the set of windows into which it should be placed.
        Parameters:
        element - The element to which windows should be assigned.
        timestamp - The timestamp of the element when isEventTime() returns true, or the current system time when isEventTime() returns false. The timestamp value is mapping to UTC milliseconds for splitting windows simply.
        Throws:
        IOException
      • getWindowSerializer

        public abstract org.apache.flink.api.common.typeutils.TypeSerializer<W> getWindowSerializer​(org.apache.flink.api.common.ExecutionConfig executionConfig)
        Returns a TypeSerializer for serializing windows that are assigned by this WindowAssigner.
      • isEventTime

        public abstract boolean isEventTime()
        Returns true if elements are assigned to windows based on event time, false otherwise.