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.TimeWindow

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

On this page
  • TimeWindow

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.