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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobConfigurationQuery() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowLargeResults()
[Experimental] If true, allows >128M results to be materialized in the destination table.
|
String |
getCreateDisposition()
[Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to
require the table already exist (CREATE_NEVER).
|
DatasetReference |
getDefaultDataset()
[Optional] Specifies the default dataset to assume for unqualified table names in the query.
|
TableReference |
getDestinationTable()
[Optional] Describes the table where the query results should be stored.
|
Double |
getMinCompletionRatio()
[Experimental] Specifies the the minimum fraction of data that must be scanned before a query
returns.
|
Boolean |
getPreserveNulls()
[Experimental] If set, preserve null values in table data, rather than mapping null values to
the column's default value.
|
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] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table
(WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY).
|
JobConfigurationQuery |
setAllowLargeResults(Boolean allowLargeResults)
[Experimental] If true, allows >128M results to be materialized in the destination table.
|
JobConfigurationQuery |
setCreateDisposition(String createDisposition)
[Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to
require the table already exist (CREATE_NEVER).
|
JobConfigurationQuery |
setDefaultDataset(DatasetReference defaultDataset)
[Optional] Specifies the default dataset to assume for unqualified table names in the query.
|
JobConfigurationQuery |
setDestinationTable(TableReference destinationTable)
[Optional] Describes the table where the query results should be stored.
|
JobConfigurationQuery |
setMinCompletionRatio(Double minCompletionRatio)
[Experimental] Specifies the the minimum fraction of data that must be scanned before a query
returns.
|
JobConfigurationQuery |
setPreserveNulls(Boolean preserveNulls)
[Experimental] If set, preserve null values in table data, rather than mapping null values to
the column's default value.
|
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] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table
(WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY).
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getAllowLargeResults()
null
.public JobConfigurationQuery setAllowLargeResults(Boolean allowLargeResults)
null
.public String getCreateDisposition()
null
.public JobConfigurationQuery setCreateDisposition(String createDisposition)
null
.public DatasetReference getDefaultDataset()
null
.public JobConfigurationQuery setDefaultDataset(DatasetReference defaultDataset)
null
.public TableReference getDestinationTable()
null
.public JobConfigurationQuery setDestinationTable(TableReference destinationTable)
null
.public Double getMinCompletionRatio()
null
.public JobConfigurationQuery setMinCompletionRatio(Double minCompletionRatio)
null
.public Boolean getPreserveNulls()
null
.public JobConfigurationQuery setPreserveNulls(Boolean preserveNulls)
null
.public String getPriority()
null
.public JobConfigurationQuery setPriority(String priority)
null
.public String getQuery()
null
.public JobConfigurationQuery setQuery(String query)
null
.public Boolean getUseQueryCache()
null
.public JobConfigurationQuery setUseQueryCache(Boolean useQueryCache)
null
.public String getWriteDisposition()
null
.public JobConfigurationQuery setWriteDisposition(String writeDisposition)
null
.