public final class JobConfigurationQuery
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobConfigurationQuery() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationQuery |
clone() |
java.lang.Boolean |
getAllowLargeResults()
If true, allows the query to produce arbitrarily large result tables at a slight cost in
performance.
|
java.lang.String |
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
|
DatasetReference |
getDefaultDataset()
[Optional] Specifies the default dataset to use for unqualified table names in the query.
|
TableReference |
getDestinationTable()
[Optional] Describes the table where the query results should be stored.
|
java.lang.Boolean |
getFlattenResults()
[Experimental] Flattens all nested and repeated fields in the query results.
|
java.lang.Boolean |
getPreserveNulls()
[Deprecated] This property is deprecated.
|
java.lang.String |
getPriority()
[Optional] Specifies a priority for the query.
|
java.lang.String |
getQuery()
[Required] BigQuery SQL query to execute.
|
java.lang.Boolean |
getUseQueryCache()
[Optional] Whether to look for the result in the query cache.
|
java.lang.String |
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
|
JobConfigurationQuery |
set(java.lang.String fieldName,
java.lang.Object value) |
JobConfigurationQuery |
setAllowLargeResults(java.lang.Boolean allowLargeResults)
If true, allows the query to produce arbitrarily large result tables at a slight cost in
performance.
|
JobConfigurationQuery |
setCreateDisposition(java.lang.String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables.
|
JobConfigurationQuery |
setDefaultDataset(DatasetReference defaultDataset)
[Optional] Specifies the default dataset to use for unqualified table names in the query.
|
JobConfigurationQuery |
setDestinationTable(TableReference destinationTable)
[Optional] Describes the table where the query results should be stored.
|
JobConfigurationQuery |
setFlattenResults(java.lang.Boolean flattenResults)
[Experimental] Flattens all nested and repeated fields in the query results.
|
JobConfigurationQuery |
setPreserveNulls(java.lang.Boolean preserveNulls)
[Deprecated] This property is deprecated.
|
JobConfigurationQuery |
setPriority(java.lang.String priority)
[Optional] Specifies a priority for the query.
|
JobConfigurationQuery |
setQuery(java.lang.String query)
[Required] BigQuery SQL query to execute.
|
JobConfigurationQuery |
setUseQueryCache(java.lang.Boolean useQueryCache)
[Optional] Whether to look for the result in the query cache.
|
JobConfigurationQuery |
setWriteDisposition(java.lang.String writeDisposition)
[Optional] Specifies the action that occurs if the destination table already exists.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAllowLargeResults()
null
for nonepublic JobConfigurationQuery setAllowLargeResults(java.lang.Boolean allowLargeResults)
allowLargeResults
- allowLargeResults or null
for nonepublic java.lang.String getCreateDisposition()
null
for nonepublic JobConfigurationQuery setCreateDisposition(java.lang.String createDisposition)
createDisposition
- createDisposition or null
for nonepublic DatasetReference getDefaultDataset()
null
for nonepublic JobConfigurationQuery setDefaultDataset(DatasetReference defaultDataset)
defaultDataset
- defaultDataset or null
for nonepublic TableReference getDestinationTable()
null
for nonepublic JobConfigurationQuery setDestinationTable(TableReference destinationTable)
destinationTable
- destinationTable or null
for nonepublic java.lang.Boolean getFlattenResults()
null
for nonepublic JobConfigurationQuery setFlattenResults(java.lang.Boolean flattenResults)
flattenResults
- flattenResults or null
for nonepublic java.lang.Boolean getPreserveNulls()
null
for nonepublic JobConfigurationQuery setPreserveNulls(java.lang.Boolean preserveNulls)
preserveNulls
- preserveNulls or null
for nonepublic java.lang.String getPriority()
null
for nonepublic JobConfigurationQuery setPriority(java.lang.String priority)
priority
- priority or null
for nonepublic java.lang.String getQuery()
null
for nonepublic JobConfigurationQuery setQuery(java.lang.String query)
query
- query or null
for nonepublic java.lang.Boolean getUseQueryCache()
null
for nonepublic JobConfigurationQuery setUseQueryCache(java.lang.Boolean useQueryCache)
useQueryCache
- useQueryCache or null
for nonepublic java.lang.String getWriteDisposition()
null
for nonepublic JobConfigurationQuery setWriteDisposition(java.lang.String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationQuery set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationQuery clone()
clone
in class com.google.api.client.json.GenericJson