View Source GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition (google_api_big_query v0.78.0)

Definition and configuration of a materialized view.

Attributes

  • allowNonIncrementalDefinition (type: boolean(), default: nil) - Optional. This option declares authors intention to construct a materialized view that will not be refreshed incrementally.
  • enableRefresh (type: boolean(), default: nil) - Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
  • lastRefreshTime (type: String.t, default: nil) - Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
  • maxStaleness (type: String.t, default: nil) - [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
  • query (type: String.t, default: nil) - Required. A query whose results are persisted.
  • refreshIntervalMs (type: String.t, default: nil) - Optional. The maximum frequency at which this materialized view will be refreshed. The default value is "1800000" (30 minutes).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition{
  allowNonIncrementalDefinition: boolean() | nil,
  enableRefresh: boolean() | nil,
  lastRefreshTime: String.t() | nil,
  maxStaleness: String.t() | nil,
  query: String.t() | nil,
  refreshIntervalMs: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.