Class ElementSample<T>

  • Type Parameters:
    T - the element type of the PCollection.

    public class ElementSample<T>
    extends java.lang.Object
    A record class that wraps an element sample with additional metadata. This ensures the ability to add an exception to a sample even if it is pushed out of the buffer.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public final long id
      • sample

        public final org.apache.beam.sdk.values.WindowedValue<T> sample