Class BigQuery.JobOption (2.35.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

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
NameDescription
fieldsJobField[]
Returns
TypeDescription
BigQuery.JobOption