Class BigQuery.TableOption

java.lang.Object
com.google.cloud.bigquery.BigQuery.TableOption
All Implemented Interfaces:
Serializable
Enclosing interface:
BigQuery

public static class BigQuery.TableOption extends Object
Class for specifying table get, create and update options.
See Also:
  • Method Details

    • 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. TableInfo.getTableId() and type (which is part of TableInfo.getDefinition()) are always returned, even if not specified.
    • autodetectSchema

      public static 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.
    • tableMetadataView

      public static BigQuery.TableOption tableMetadataView(BigQuery.TableMetadataView tableMetadataView)
      Returns an option to specify the metadata of the table.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object