public final class MaterializedViewDefinition
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MaterializedViewDefinition() |
| Modifier and Type | Method and Description |
|---|---|
MaterializedViewDefinition |
clone() |
byte[] |
decodeMaxStaleness()
[Optional] Max staleness of data that could be returned when materizlized view is queried
(formatted as Google SQL Interval type).
|
MaterializedViewDefinition |
encodeMaxStaleness(byte[] maxStaleness)
[Optional] Max staleness of data that could be returned when materizlized view is queried
(formatted as Google SQL Interval type).
|
Boolean |
getAllowNonIncrementalDefinition()
Optional.
|
Boolean |
getEnableRefresh()
Optional.
|
Long |
getLastRefreshTime()
Output only.
|
String |
getMaxStaleness()
[Optional] Max staleness of data that could be returned when materizlized view is queried
(formatted as Google SQL Interval type).
|
String |
getQuery()
Required.
|
Long |
getRefreshIntervalMs()
Optional.
|
MaterializedViewDefinition |
set(String fieldName,
Object value) |
MaterializedViewDefinition |
setAllowNonIncrementalDefinition(Boolean allowNonIncrementalDefinition)
Optional.
|
MaterializedViewDefinition |
setEnableRefresh(Boolean enableRefresh)
Optional.
|
MaterializedViewDefinition |
setLastRefreshTime(Long lastRefreshTime)
Output only.
|
MaterializedViewDefinition |
setMaxStaleness(String maxStaleness)
[Optional] Max staleness of data that could be returned when materizlized view is queried
(formatted as Google SQL Interval type).
|
MaterializedViewDefinition |
setQuery(String query)
Required.
|
MaterializedViewDefinition |
setRefreshIntervalMs(Long refreshIntervalMs)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAllowNonIncrementalDefinition()
null for nonepublic MaterializedViewDefinition setAllowNonIncrementalDefinition(Boolean allowNonIncrementalDefinition)
allowNonIncrementalDefinition - allowNonIncrementalDefinition or null for nonepublic 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 getMaxStaleness()
null for nonedecodeMaxStaleness()public byte[] decodeMaxStaleness()
null for nonegetMaxStaleness()public MaterializedViewDefinition setMaxStaleness(String maxStaleness)
maxStaleness - maxStaleness or null for none#encodeMaxStaleness()public MaterializedViewDefinition encodeMaxStaleness(byte[] maxStaleness)
The value is encoded Base64 or {@code null} for none.
public 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 com.google.api.client.json.GenericJsonpublic MaterializedViewDefinition clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.