Class BigQuery.JobOption (2.45.0)

public static class BigQuery.JobOption extends Option

Class for specifying table get and create options.

Inheritance

Object > com.google.cloud.bigquery.Option > BigQuery.JobOption

Static Methods

bigQueryRetryConfig(BigQueryRetryConfig bigQueryRetryConfig)

public static BigQuery.JobOption bigQueryRetryConfig(BigQueryRetryConfig bigQueryRetryConfig)

Returns an option to specify the job's BigQuery retry configuration.

Parameter
Name Description
bigQueryRetryConfig BigQueryRetryConfig
Returns
Type Description
BigQuery.JobOption

fields(BigQuery.JobField[] fields)

public static BigQuery.JobOption fields(BigQuery.JobField[] fields)

Returns an option to specify the job's fields to be returned by the RPC call. If this option is not provided all job's fields are returned. JobOption.fields() can be used to specify only the fields of interest. Job#getJobId() as well as type-specific configuration (e.g. QueryJobConfiguration#getQuery() for Query Jobs) are always returned, even if not specified.

Parameter
Name Description
fields JobField[]
Returns
Type Description
BigQuery.JobOption

retryOptions(RetryOption[] options)

public static BigQuery.JobOption retryOptions(RetryOption[] options)

Returns an option to specify the job's retry options.

Parameter
Name Description
options com.google.cloud.RetryOption[]
Returns
Type Description
BigQuery.JobOption