Package org.apache.beam.fn.harness.debug
Class ElementSample<T>
- java.lang.Object
-
- org.apache.beam.fn.harness.debug.ElementSample<T>
-
- Type Parameters:
T- the element type of the PCollection.
public class ElementSample<T> extends java.lang.ObjectA 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElementSample.ExceptionMetadata
-
Field Summary
Fields Modifier and Type Field Description ElementSample.ExceptionMetadataexceptionlongidorg.apache.beam.sdk.values.WindowedValue<T>sample
-
-
-
Field Detail
-
id
public final long id
-
sample
public final org.apache.beam.sdk.values.WindowedValue<T> sample
-
exception
@Nullable public ElementSample.ExceptionMetadata exception
-
-