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.Flags| Constructor and Description |
|---|
ViewDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
clone() |
java.lang.String |
getQuery()
[Required] A query that BigQuery executes when the view is referenced.
|
java.lang.Boolean |
getUseLegacySql()
Specifies whether to use BigQuery's legacy SQL for this view.
|
java.util.List<UserDefinedFunctionResource> |
getUserDefinedFunctionResources()
Describes user-defined function resources used in the query.
|
ViewDefinition |
set(java.lang.String fieldName,
java.lang.Object value) |
ViewDefinition |
setQuery(java.lang.String query)
[Required] A query that BigQuery executes when the view is referenced.
|
ViewDefinition |
setUseLegacySql(java.lang.Boolean useLegacySql)
Specifies whether to use BigQuery's legacy SQL for this view.
|
ViewDefinition |
setUserDefinedFunctionResources(java.util.List<UserDefinedFunctionResource> userDefinedFunctionResources)
Describes user-defined function resources used in the query.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getQuery()
null for nonepublic ViewDefinition setQuery(java.lang.String query)
query - query or null for nonepublic java.lang.Boolean getUseLegacySql()
null for nonepublic ViewDefinition setUseLegacySql(java.lang.Boolean useLegacySql)
useLegacySql - useLegacySql or null for nonepublic java.util.List<UserDefinedFunctionResource> getUserDefinedFunctionResources()
null for nonepublic ViewDefinition setUserDefinedFunctionResources(java.util.List<UserDefinedFunctionResource> userDefinedFunctionResources)
userDefinedFunctionResources - userDefinedFunctionResources or null for nonepublic ViewDefinition set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ViewDefinition clone()
clone in class com.google.api.client.json.GenericJson