Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

pyflink.datastream.window.TimeWindow#

class TimeWindow(start: int, end: int)[source]#

Window that represents a time interval from start (inclusive) to end (exclusive).

Methods

cover(other)

Returns the minimal window covers both this window and the given window.

get_window_start_with_offset(timestamp, ...)

Method to get the window start for a timestamp.

intersects(other)

Returns True if this window intersects the given window.

max_timestamp()

merge_windows(windows, callback)

Merge overlapping :class`TimeWindow`.

previous

Window

next

pyflink.datastream.window.CountWindow

Show Source

Created using Sphinx 4.5.0.