Package com.google.cloud.bigquery
Class BigQuery.TableOption
java.lang.Object
com.google.cloud.bigquery.BigQuery.TableOption
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- BigQuery
Class for specifying table get, create and update options.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BigQuery.TableOption
autodetectSchema
(boolean autodetect) Returns an option to specify the schema of the table (only applicable for external tables) should be autodetected when updating the table from the underlying source.boolean
static BigQuery.TableOption
fields
(BigQuery.TableField... fields) Returns an option to specify the table's fields to be returned by the RPC call.int
hashCode()
static BigQuery.TableOption
tableMetadataView
(BigQuery.TableMetadataView tableMetadataView) Returns an option to specify the metadata of the table.toString()
-
Method Details
-
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.TableInfo.getTableId()
and type (which is part ofTableInfo.getDefinition()
) are always returned, even if not specified. -
autodetectSchema
Returns an option to specify the schema of the table (only applicable for external tables) should be autodetected when updating the table from the underlying source. -
tableMetadataView
Returns an option to specify the metadata of the table. -
equals
-
hashCode
public int hashCode() -
toString
-