View Source GoogleApi.BigQuery.V2.Model.BigtableOptions (google_api_big_query v0.79.0)

Options specific to Google Cloud Bigtable data sources.

Attributes

  • columnFamilies (type: list(GoogleApi.BigQuery.V2.Model.BigtableColumnFamily.t), default: nil) - Optional. List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
  • ignoreUnspecifiedColumnFamilies (type: boolean(), default: nil) - Optional. If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, they are read with BYTES type values. The default value is false.
  • outputColumnFamiliesAsJson (type: boolean(), default: nil) - Optional. If field is true, then each column family will be read as a single JSON column. Otherwise they are read as a repeated cell structure containing timestamp/value tuples. The default value is false.
  • readRowkeyAsString (type: boolean(), default: nil) - Optional. If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and users need to manually cast them with CAST if necessary. The default value is false.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.BigtableOptions{
  columnFamilies: [GoogleApi.BigQuery.V2.Model.BigtableColumnFamily.t()] | nil,
  ignoreUnspecifiedColumnFamilies: boolean() | nil,
  outputColumnFamiliesAsJson: boolean() | nil,
  readRowkeyAsString: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.