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

A materialized view considered for a query job.

Attributes

  • chosen (type: boolean(), default: nil) - Whether the materialized view is chosen for the query. A materialized view can be chosen to rewrite multiple parts of the same query. If a materialized view is chosen to rewrite any part of the query, then this field is true, even if the materialized view was not chosen to rewrite others parts.
  • estimatedBytesSaved (type: String.t, default: nil) - If present, specifies a best-effort estimation of the bytes saved by using the materialized view rather than its base tables.
  • rejectedReason (type: String.t, default: nil) - If present, specifies the reason why the materialized view was not chosen for the query.
  • tableReference (type: GoogleApi.BigQuery.V2.Model.TableReference.t, default: nil) - The candidate materialized view.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.MaterializedView{
  chosen: boolean() | nil,
  estimatedBytesSaved: String.t() | nil,
  rejectedReason: String.t() | nil,
  tableReference: GoogleApi.BigQuery.V2.Model.TableReference.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.