public final class MaterializedViewDefinition extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MaterializedViewDefinition() |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getEnableRefresh()
null
for nonepublic MaterializedViewDefinition setEnableRefresh(Boolean enableRefresh)
enableRefresh
- enableRefresh or null
for nonepublic Long getLastRefreshTime()
null
for nonepublic MaterializedViewDefinition setLastRefreshTime(Long lastRefreshTime)
lastRefreshTime
- lastRefreshTime or null
for nonepublic String getQuery()
null
for nonepublic MaterializedViewDefinition setQuery(String query)
query
- query or null
for nonepublic Long getRefreshIntervalMs()
null
for nonepublic MaterializedViewDefinition setRefreshIntervalMs(Long refreshIntervalMs)
refreshIntervalMs
- refreshIntervalMs or null
for nonepublic MaterializedViewDefinition set(String fieldName, Object value)
set
in class GenericJson
public MaterializedViewDefinition clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.