Class MaterializedViewDefinition
Definition and configuration of a materialized view.
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class MaterializedViewDefinition : IDirectResponseSchema
Properties
AllowNonIncrementalDefinition
Optional. This option declares authors intention to construct a materialized view that will not be refreshed incrementally.
Declaration
[JsonProperty("allowNonIncrementalDefinition")]
public virtual bool? AllowNonIncrementalDefinition { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableRefresh
Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
Declaration
[JsonProperty("enableRefresh")]
public virtual bool? EnableRefresh { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LastRefreshTime
Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
Declaration
[JsonProperty("lastRefreshTime")]
public virtual long? LastRefreshTime { get; set; }
Property Value
Type | Description |
---|---|
long? |
MaxStaleness
[Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
Declaration
[JsonProperty("maxStaleness")]
public virtual string MaxStaleness { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
Required. A query whose results are persisted.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RefreshIntervalMs
Optional. The maximum frequency at which this materialized view will be refreshed. The default value is "1800000" (30 minutes).
Declaration
[JsonProperty("refreshIntervalMs")]
public virtual long? RefreshIntervalMs { get; set; }
Property Value
Type | Description |
---|---|
long? |