public final class ViewDefinition
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 |
|---|
ViewDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
clone() |
String |
getQuery()
[Required] A query that BigQuery executes when the view is referenced.
|
Boolean |
getUseLegacySql()
Specifies whether to use BigQuery's legacy SQL for this view.
|
List<UserDefinedFunctionResource> |
getUserDefinedFunctionResources()
Describes user-defined function resources used in the query.
|
ViewDefinition |
set(String fieldName,
Object value) |
ViewDefinition |
setQuery(String query)
[Required] A query that BigQuery executes when the view is referenced.
|
ViewDefinition |
setUseLegacySql(Boolean useLegacySql)
Specifies whether to use BigQuery's legacy SQL for this view.
|
ViewDefinition |
setUserDefinedFunctionResources(List<UserDefinedFunctionResource> userDefinedFunctionResources)
Describes user-defined function resources used in the query.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getQuery()
null for nonepublic ViewDefinition setQuery(String query)
query - query or null for nonepublic Boolean getUseLegacySql()
null for nonepublic ViewDefinition setUseLegacySql(Boolean useLegacySql)
useLegacySql - useLegacySql or null for nonepublic List<UserDefinedFunctionResource> getUserDefinedFunctionResources()
null for nonepublic ViewDefinition setUserDefinedFunctionResources(List<UserDefinedFunctionResource> userDefinedFunctionResources)
userDefinedFunctionResources - userDefinedFunctionResources or null for nonepublic ViewDefinition set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ViewDefinition clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.