Class ValueInSingleWindow<T>

  • Type Parameters:
    T - the type of the value

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

      • ValueInSingleWindow

        public ValueInSingleWindow()
    • Method Detail

      • 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 org.joda.time.Instant getTimestamp()
        Returns the timestamp of this ValueInSingleWindow.
      • getWindow

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

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