public void setupBigQueryTable ( ) throws IOException { ExampleBigQueryTableOptions bigQueryTableOptions = options . as ( ExampleBigQueryTableOptions . class ) ; if ( bigQueryTableOptions . getBigQueryDataset ( ) != null && bigQueryTableOptions . getBigQueryTable ( ) != null && bigQueryTableOptions . getBigQuerySchema ( ) != null ) { pendingMessages . add ( "******************Set Up Big Query Table*******************" ) ; setupBigQueryTable ( bigQueryTableOptions . getProject ( ) , bigQueryTableOptions . getBigQueryDataset ( ) , bigQueryTableOptions . getBigQueryTable ( ) , bigQueryTableOptions . getBigQuerySchema ( ) ) ; pendingMessages . add ( "The BigQuery table has been set up for this example: " + bigQueryTableOptions . getProject ( ) + ":" + bigQueryTableOptions . getBigQueryDataset ( ) + "." + bigQueryTableOptions . getBigQueryTable ( ) ) ; } }
Sets up the BigQuery table with the given schema .