Create a new BigQueryClient instance with the given project and credential.
Create a new BigQueryClient instance with the given project and secret file.
Create a new BigQueryClient instance with the given project.
Get the default BigQueryClient instance.
Get the default BigQueryClient instance.
Project must be set via bigquery.project
system property.
An optional JSON secret file can be set via bigquery.secret
.
For example, by adding the following code at the beginning of a job:
sys.props("bigquery.project") = "my-project" sys.props("bigquery.secret") = "/path/to/secret.json"
Or by passing them as SBT command line arguments:
sbt -Dbigquery.project=my-project -Dbigquery.secret=/path/to/secret.json
Companion object for BigQuery.