Class ConvertMessagesDoFn<DestinationT extends @NonNull Object,ElementT>

java.lang.Object
org.apache.beam.sdk.transforms.DoFn<KV<DestinationT,ElementT>,KV<DestinationT,StorageApiWritePayload>>
org.apache.beam.sdk.io.gcp.bigquery.ConvertMessagesDoFn<DestinationT,ElementT>
All Implemented Interfaces:
Serializable, HasDisplayData

public class ConvertMessagesDoFn<DestinationT extends @NonNull Object,ElementT> extends DoFn<KV<DestinationT,ElementT>,KV<DestinationT,StorageApiWritePayload>>
DoFn that interacts with the StorageApiDynamicDestinations instance to convert messages to StorageApiWritePaylod. Messages that fail to convert are routed to the dead-letter PCollection. If schemaUpdateOptions are set, then messages that fail to convert due to missing columns are routed to a buffering transform that holds them until the table's schema has been updated.
See Also: