Default cache directory.
System property key for local schema cache directory.
Default cache behavior is enabled.
System property key for enabling or disabling scio bigquery caching
System property key for timeout in milliseconds to establish a connection.
System property key for timeout in milliseconds to establish a connection. Default is 20000 (20 seconds). 0 for an infinite timeout.
System property key for billing project.
System property key for timeout in milliseconds to read data from an established connection.
System property key for timeout in milliseconds to read data from an established connection. Default is 20000 (20 seconds). 0 for an infinite timeout.
System property key for JSON secret path.
Create a new BigQueryClient instance with the given project and secret file.
Create a new BigQueryClient instance with the given project and credential.
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 BigQueryClient.