Class IntervalWindow

java.lang.Object
org.apache.beam.sdk.transforms.windowing.BoundedWindow
org.apache.beam.sdk.transforms.windowing.IntervalWindow
All Implemented Interfaces:
Comparable<IntervalWindow>

public class IntervalWindow extends BoundedWindow implements Comparable<IntervalWindow>
An implementation of BoundedWindow that represents an interval from start (inclusive) to end (exclusive).
  • Constructor Details

    • IntervalWindow

      public IntervalWindow(Instant start, Instant end)
      Creates a new IntervalWindow that represents the half-open time interval [start, end).
    • IntervalWindow

      public IntervalWindow(Instant start, ReadableDuration size)
  • Method Details