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.util.List<UserDefinedFunctionResource> |
getUserDefinedFunctionResources()
[Experimental] 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 |
setUserDefinedFunctionResources(java.util.List<UserDefinedFunctionResource> userDefinedFunctionResources)
[Experimental] Describes user-defined function resources used in the query.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getQuery()
null
for nonepublic ViewDefinition setQuery(java.lang.String query)
query
- query 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.GenericJson
public ViewDefinition clone()
clone
in class com.google.api.client.json.GenericJson