Class TokenizationBigQueryIO


  • public class TokenizationBigQueryIO
    extends java.lang.Object
    The TokenizationBigQueryIO class for writing data from template to BigTable.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FailsafeElement<java.lang.String,​java.lang.String> wrapBigQueryInsertError​(org.apache.beam.sdk.io.gcp.bigquery.BigQueryInsertError insertError)
      Method to wrap a BigQueryInsertError into a FailsafeElement.
      static org.apache.beam.sdk.io.gcp.bigquery.WriteResult write​(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row> input, java.lang.String bigQueryTableName, com.google.api.services.bigquery.model.TableSchema schema)  
      • Methods inherited from class java.lang.Object

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

      • TokenizationBigQueryIO

        public TokenizationBigQueryIO()
    • Method Detail

      • write

        public static org.apache.beam.sdk.io.gcp.bigquery.WriteResult write​(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row> input,
                                                                            java.lang.String bigQueryTableName,
                                                                            com.google.api.services.bigquery.model.TableSchema schema)
      • wrapBigQueryInsertError

        public static FailsafeElement<java.lang.String,​java.lang.String> wrapBigQueryInsertError​(org.apache.beam.sdk.io.gcp.bigquery.BigQueryInsertError insertError)
        Method to wrap a BigQueryInsertError into a FailsafeElement.
        Parameters:
        insertError - BigQueryInsert error.
        Returns:
        FailsafeElement object.