Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • Window
  • pyflink.datastream.window.PurgingTrigger

pyflink.datastream.window.PurgingTrigger#

class PurgingTrigger(nested_trigger: Trigger[T, Window])[source]#

A trigger that can turn any Trigger into a purging Trigger. When the nested trigger fires, this will return a FIRE_AND_PURGE TriggerResult.

Methods

can_merge()

clear(window, ctx)

Clears any state that the trigger might still hold for the given window.

of(nested_trigger)

on_element(element, timestamp, window, ctx)

Called for every element that gets added to a pane.

on_event_time(time, window, ctx)

Called when an event-time timer that was set using the trigger context fires.

on_merge(window, ctx)

Called when several windows have been merged into one window by the WindowAssigner.

on_processing_time(time, window, ctx)

Called when a processing-time timer that was set using the trigger context fires.

previous

pyflink.datastream.window.ContinuousProcessingTimeTrigger

next

pyflink.datastream.window.CountTrigger

On this page
  • PurgingTrigger

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.