target.apidocs.com.google.api.services.bigquery.model.MaterializedViewDefinition.html Maven / Gradle / Ivy
MaterializedViewDefinition (BigQuery API v2-rev20201022-1.30.10)
com.google.api.services.bigquery.model
Class MaterializedViewDefinition
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.MaterializedViewDefinition
-
public final class MaterializedViewDefinition
extends GenericJson
Model definition for MaterializedViewDefinition.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
MaterializedViewDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MaterializedViewDefinition
clone()
Boolean
getEnableRefresh()
[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base
table is updated.
Long
getLastRefreshTime()
[Output-only] [TrustedTester] The time when this materialized view was last modified, in
milliseconds since the epoch.
String
getQuery()
[Required] A query whose result is persisted.
Long
getRefreshIntervalMs()
[Optional] [TrustedTester] The maximum frequency at which this materialized view will be
refreshed.
MaterializedViewDefinition
set(String fieldName,
Object value)
MaterializedViewDefinition
setEnableRefresh(Boolean enableRefresh)
[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base
table is updated.
MaterializedViewDefinition
setLastRefreshTime(Long lastRefreshTime)
[Output-only] [TrustedTester] The time when this materialized view was last modified, in
milliseconds since the epoch.
MaterializedViewDefinition
setQuery(String query)
[Required] A query whose result is persisted.
MaterializedViewDefinition
setRefreshIntervalMs(Long refreshIntervalMs)
[Optional] [TrustedTester] The maximum frequency at which this materialized view will be
refreshed.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEnableRefresh
public Boolean getEnableRefresh()
[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base
table is updated. The default value is "true".
- Returns:
- value or
null
for none
-
setEnableRefresh
public MaterializedViewDefinition setEnableRefresh(Boolean enableRefresh)
[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base
table is updated. The default value is "true".
- Parameters:
enableRefresh
- enableRefresh or null
for none
-
getLastRefreshTime
public Long getLastRefreshTime()
[Output-only] [TrustedTester] The time when this materialized view was last modified, in
milliseconds since the epoch.
- Returns:
- value or
null
for none
-
setLastRefreshTime
public MaterializedViewDefinition setLastRefreshTime(Long lastRefreshTime)
[Output-only] [TrustedTester] The time when this materialized view was last modified, in
milliseconds since the epoch.
- Parameters:
lastRefreshTime
- lastRefreshTime or null
for none
-
getQuery
public String getQuery()
[Required] A query whose result is persisted.
- Returns:
- value or
null
for none
-
setQuery
public MaterializedViewDefinition setQuery(String query)
[Required] A query whose result is persisted.
- Parameters:
query
- query or null
for none
-
getRefreshIntervalMs
public Long getRefreshIntervalMs()
[Optional] [TrustedTester] The maximum frequency at which this materialized view will be
refreshed. The default value is "1800000" (30 minutes).
- Returns:
- value or
null
for none
-
setRefreshIntervalMs
public MaterializedViewDefinition setRefreshIntervalMs(Long refreshIntervalMs)
[Optional] [TrustedTester] The maximum frequency at which this materialized view will be
refreshed. The default value is "1800000" (30 minutes).
- Parameters:
refreshIntervalMs
- refreshIntervalMs or null
for none
-
set
public MaterializedViewDefinition set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public MaterializedViewDefinition clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy