Class | Description |
---|---|
RemoteBigQueryHelper |
Utility to create a remote BigQuery configuration for testing.
|
Exception | Description |
---|---|
RemoteBigQueryHelper.BigQueryHelperException |
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);
Copyright © 2019 Google LLC. All rights reserved.