Class FailsafeValueInSingleWindow<T,ErrorT>

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

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

    • FailsafeValueInSingleWindow

      public FailsafeValueInSingleWindow()
  • Method Details

    • getValue

      public abstract T getValue()
      Returns the value of this FailsafeValueInSingleWindow.
    • getTimestamp

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

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

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

      public abstract ErrorT getFailsafeValue()
      Returns the failsafe value of this FailsafeValueInSingleWindow.
    • of

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