public final class MaterializedView
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 |
---|
MaterializedView() |
Modifier and Type | Method and Description |
---|---|
MaterializedView |
clone() |
Boolean |
getChosen()
Whether the materialized view is chosen for the query.
|
Long |
getEstimatedBytesSaved()
If present, specifies a best-effort estimation of the bytes saved by using the materialized
view rather than its base tables.
|
String |
getRejectedReason()
If present, specifies the reason why the materialized view was not chosen for the query.
|
TableReference |
getTableReference()
The candidate materialized view.
|
MaterializedView |
set(String fieldName,
Object value) |
MaterializedView |
setChosen(Boolean chosen)
Whether the materialized view is chosen for the query.
|
MaterializedView |
setEstimatedBytesSaved(Long estimatedBytesSaved)
If present, specifies a best-effort estimation of the bytes saved by using the materialized
view rather than its base tables.
|
MaterializedView |
setRejectedReason(String rejectedReason)
If present, specifies the reason why the materialized view was not chosen for the query.
|
MaterializedView |
setTableReference(TableReference tableReference)
The candidate materialized view.
|
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 getChosen()
null
for nonepublic MaterializedView setChosen(Boolean chosen)
chosen
- chosen or null
for nonepublic Long getEstimatedBytesSaved()
null
for nonepublic MaterializedView setEstimatedBytesSaved(Long estimatedBytesSaved)
estimatedBytesSaved
- estimatedBytesSaved or null
for nonepublic String getRejectedReason()
null
for nonepublic MaterializedView setRejectedReason(String rejectedReason)
rejectedReason
- rejectedReason or null
for nonepublic TableReference getTableReference()
null
for nonepublic MaterializedView setTableReference(TableReference tableReference)
tableReference
- tableReference or null
for nonepublic MaterializedView set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public MaterializedView clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.