Class StorageApiWriteRecordsInconsistent<DestinationT,ElementT>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<DestinationT,StorageApiWritePayload>>,org.apache.beam.sdk.values.PCollectionTuple>
-
- org.apache.beam.sdk.io.gcp.bigquery.StorageApiWriteRecordsInconsistent<DestinationT,ElementT>
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
public class StorageApiWriteRecordsInconsistent<DestinationT,ElementT> extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<DestinationT,StorageApiWritePayload>>,org.apache.beam.sdk.values.PCollectionTuple>
A transform to write sharded records to BigQuery using the Storage API. This transform uses the default stream to write the records. Records written will show up in BigQuery immediately, however exactly once is not guaranteed - duplicates may appear in the output. For exactly-once writes, useStorageApiWritesShardedRecordsorStorageApiWriteUnshardedRecords.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageApiWriteRecordsInconsistent(org.apache.beam.sdk.io.gcp.bigquery.StorageApiDynamicDestinations<ElementT,DestinationT> dynamicDestinations, BigQueryServices bqServices, org.apache.beam.sdk.values.TupleTag<BigQueryStorageApiInsertError> failedRowsTag, org.apache.beam.sdk.coders.Coder<BigQueryStorageApiInsertError> failedRowsCoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PCollectionTupleexpand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<DestinationT,StorageApiWritePayload>> input)
-
-
-
Constructor Detail
-
StorageApiWriteRecordsInconsistent
public StorageApiWriteRecordsInconsistent(org.apache.beam.sdk.io.gcp.bigquery.StorageApiDynamicDestinations<ElementT,DestinationT> dynamicDestinations, BigQueryServices bqServices, org.apache.beam.sdk.values.TupleTag<BigQueryStorageApiInsertError> failedRowsTag, org.apache.beam.sdk.coders.Coder<BigQueryStorageApiInsertError> failedRowsCoder)
-
-
Method Detail
-
expand
public org.apache.beam.sdk.values.PCollectionTuple expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<DestinationT,StorageApiWritePayload>> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<DestinationT,StorageApiWritePayload>>,org.apache.beam.sdk.values.PCollectionTuple>
-
-