Class ValueInSingleWindow<T>

java.lang.Object
org.apache.beam.sdk.values.ValueInSingleWindow<T>
Type Parameters:
T - the type of the value

@Internal public abstract class ValueInSingleWindow<T> extends Object
An immutable tuple of value, timestamp, window, and pane.
  • Constructor Details

    • ValueInSingleWindow

      public ValueInSingleWindow()
  • Method Details

    • getValue

      public T getValue()
      Returns the value of this ValueInSingleWindow.
    • getNullableValue

      protected abstract @Nullable T getNullableValue()
      Workaround for autovalue code generation, which does not allow type variables to be instantiated with nullable actual parameters.
    • getTimestamp

      public abstract Instant getTimestamp()
      Returns the timestamp of this ValueInSingleWindow.
    • getWindow

      public abstract BoundedWindow getWindow()
      Returns the window of this ValueInSingleWindow.
    • getPaneInfo

      public abstract PaneInfo getPaneInfo()
      Returns the pane of this ValueInSingleWindow in its window.
    • of

      public static <T> ValueInSingleWindow<T> of(T value, Instant timestamp, BoundedWindow window, PaneInfo paneInfo)