public final class JobConfigurationQuery extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobConfigurationQuery() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationQuery |
clone() |
Boolean |
getAllowLargeResults()
If true, allows the query to produce arbitrarily large result tables at a slight cost in
performance.
|
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.
|
Boolean |
getFlattenResults()
[Experimental] Flattens all nested and repeated fields in the query results.
|
Boolean |
getPreserveNulls()
[Deprecated] This property is deprecated.
|
String |
getPriority()
[Optional] Specifies a priority for the query.
|
String |
getQuery()
[Required] BigQuery SQL query to execute.
|
Boolean |
getUseQueryCache()
[Optional] Whether to look for the result in the query cache.
|
String |
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
|
JobConfigurationQuery |
set(String fieldName,
Object value) |
JobConfigurationQuery |
setAllowLargeResults(Boolean allowLargeResults)
If true, allows the query to produce arbitrarily large result tables at a slight cost in
performance.
|
JobConfigurationQuery |
setCreateDisposition(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(Boolean flattenResults)
[Experimental] Flattens all nested and repeated fields in the query results.
|
JobConfigurationQuery |
setPreserveNulls(Boolean preserveNulls)
[Deprecated] This property is deprecated.
|
JobConfigurationQuery |
setPriority(String priority)
[Optional] Specifies a priority for the query.
|
JobConfigurationQuery |
setQuery(String query)
[Required] BigQuery SQL query to execute.
|
JobConfigurationQuery |
setUseQueryCache(Boolean useQueryCache)
[Optional] Whether to look for the result in the query cache.
|
JobConfigurationQuery |
setWriteDisposition(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getAllowLargeResults()
null
for nonepublic JobConfigurationQuery setAllowLargeResults(Boolean allowLargeResults)
allowLargeResults
- allowLargeResults or null
for nonepublic String getCreateDisposition()
null
for nonepublic JobConfigurationQuery setCreateDisposition(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 Boolean getFlattenResults()
null
for nonepublic JobConfigurationQuery setFlattenResults(Boolean flattenResults)
flattenResults
- flattenResults or null
for nonepublic Boolean getPreserveNulls()
null
for nonepublic JobConfigurationQuery setPreserveNulls(Boolean preserveNulls)
preserveNulls
- preserveNulls or null
for nonepublic String getPriority()
null
for nonepublic JobConfigurationQuery setPriority(String priority)
priority
- priority or null
for nonepublic String getQuery()
null
for nonepublic JobConfigurationQuery setQuery(String query)
query
- query or null
for nonepublic Boolean getUseQueryCache()
null
for nonepublic JobConfigurationQuery setUseQueryCache(Boolean useQueryCache)
useQueryCache
- useQueryCache or null
for nonepublic String getWriteDisposition()
null
for nonepublic JobConfigurationQuery setWriteDisposition(String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationQuery set(String fieldName, Object value)
set
in class GenericJson
public JobConfigurationQuery clone()
clone
in class GenericJson