Class BigQuery.DatasetOption (2.43.1)

public static class BigQuery.DatasetOption extends Option

Class for specifying dataset get, create and update options.

Inheritance

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

Static Methods

fields(BigQuery.DatasetField[] fields)

public static BigQuery.DatasetOption fields(BigQuery.DatasetField[] fields)

Returns an option to specify the dataset's fields to be returned by the RPC call. If this option is not provided all dataset's fields are returned. { code DatasetOption.fields} can be used to specify only the fields of interest. Dataset#getDatasetId() is always returned, even if not specified.

Parameter
Name Description
fields DatasetField[]
Returns
Type Description
BigQuery.DatasetOption