Skip navigation links

Package com.google.cloud.bigquery.testing

A testing helper for Google BigQuery.

See: Description

Package com.google.cloud.bigquery.testing Description

A testing helper for Google BigQuery.

A simple usage example:

Before the test:


 RemoteBigQueryHelper bigqueryHelper = RemoteBigQueryHelper.create();
 BigQuery bigquery = bigqueryHelper.getOptions().getService();
 String dataset = RemoteBigQueryHelper.generateDatasetName();
 bigquery.create(DatasetInfo.newBuilder(dataset).build());
 

After the test:


 RemoteBigQueryHelper.forceDelete(bigquery, DATASET);
 
See Also:
Google Cloud Java tools for testing
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.