Class BigQuery.DatasetOption (2.13.8)

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. DatasetOption.fields can be used to specify only the fields of interest. Dataset#getDatasetId() is always returned, even if not specified.

Parameter
NameDescription
fieldsDatasetField[]
Returns
TypeDescription
BigQuery.DatasetOption