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.Flags
AbstractMap.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, 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 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.GenericJson
public MaterializedViewDefinition clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.