Class WindowFn.AssignContext

java.lang.Object
org.apache.beam.sdk.transforms.windowing.WindowFn.AssignContext
Direct Known Subclasses:
Twister2AssignContext
Enclosing class:
WindowFn<T,W extends BoundedWindow>

public abstract class WindowFn.AssignContext extends Object
  • Constructor Details

    • AssignContext

      public AssignContext()
  • Method Details

    • element

      public abstract T element()
      Returns the current element.
    • timestamp

      public abstract Instant timestamp()
      Returns the timestamp of the current element.
    • window

      public abstract BoundedWindow window()
      Returns the window of the current element prior to this WindowFn being called.