Class BigQuery.TableOption (2.5.1)

public static class BigQuery.TableOption extends Option

Class for specifying table get, create and update options.

Inheritance

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

Methods

fields(BigQuery.TableField[] fields)

public static BigQuery.TableOption fields(BigQuery.TableField[] fields)

Returns an option to specify the table's fields to be returned by the RPC call. If this option is not provided all table's fields are returned. TableOption.fields can be used to specify only the fields of interest. Table#getTableId() and type (which is part of Table#getDefinition()) are always returned, even if not specified.

Parameter
NameDescription
fieldsTableField[]
Returns
TypeDescription
BigQuery.TableOption