public final class WriteResult
extends java.lang.Object
implements org.apache.beam.sdk.values.POutput
BigQueryIO.Write transform.| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.apache.beam.sdk.values.TupleTag<?>,org.apache.beam.sdk.values.PValue> |
expand() |
void |
finishSpecifyingOutput(java.lang.String transformName,
org.apache.beam.sdk.values.PInput input,
org.apache.beam.sdk.transforms.PTransform<?,?> transform) |
org.apache.beam.sdk.values.PCollection<com.google.api.services.bigquery.model.TableRow> |
getFailedInserts()
Returns a
PCollection containing the TableRows that didn't made it to BQ. |
org.apache.beam.sdk.values.PCollection<BigQueryInsertError> |
getFailedInsertsWithErr()
Returns a
PCollection containing the BigQueryInsertErrors with detailed error
information. |
org.apache.beam.sdk.Pipeline |
getPipeline() |
public java.util.Map<org.apache.beam.sdk.values.TupleTag<?>,org.apache.beam.sdk.values.PValue> expand()
expand in interface org.apache.beam.sdk.values.POutputpublic org.apache.beam.sdk.values.PCollection<com.google.api.services.bigquery.model.TableRow> getFailedInserts()
PCollection containing the TableRows that didn't made it to BQ.
Only use this method if you haven't enabled BigQueryIO.Write.withExtendedErrorInfo(). Otherwise use getFailedInsertsWithErr()
public org.apache.beam.sdk.values.PCollection<BigQueryInsertError> getFailedInsertsWithErr()
PCollection containing the BigQueryInsertErrors with detailed error
information.
Only use this method if you have enabled BigQueryIO.Write.withExtendedErrorInfo(). *
Otherwise use getFailedInserts()
public org.apache.beam.sdk.Pipeline getPipeline()
getPipeline in interface org.apache.beam.sdk.values.POutputpublic void finishSpecifyingOutput(java.lang.String transformName,
org.apache.beam.sdk.values.PInput input,
org.apache.beam.sdk.transforms.PTransform<?,?> transform)
finishSpecifyingOutput in interface org.apache.beam.sdk.values.POutput