|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<String,Object> com.google.api.client.util.GenericData com.google.api.client.json.GenericJson com.google.api.services.bigquery.model.QueryRequest
public final class QueryRequest
Model definition for QueryRequest.
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()
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
QueryRequest()
|
Method Summary | |
---|---|
DatasetReference |
getDefaultDataset()
[Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. |
Boolean |
getDryRun()
[Optional] If set, don't actually run the query. |
String |
getKind()
The resource type of the request. |
Long |
getMaxResults()
[Optional] The maximum number of results to return per page of results. |
Boolean |
getPreserveNulls()
[Experimental] If set, preserve null values in table data, rather than mapping null values to the column's default value. |
String |
getQuery()
[Required] A query string, following the BigQuery query syntax of the query to execute. |
Long |
getTimeoutMs()
[Optional] How long to wait for the query to complete, in milliseconds, before returning. |
QueryRequest |
setDefaultDataset(DatasetReference defaultDataset)
[Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. |
QueryRequest |
setDryRun(Boolean dryRun)
[Optional] If set, don't actually run the query. |
QueryRequest |
setKind(String kind)
The resource type of the request. |
QueryRequest |
setMaxResults(Long maxResults)
[Optional] The maximum number of results to return per page of results. |
QueryRequest |
setPreserveNulls(Boolean preserveNulls)
[Experimental] If set, preserve null values in table data, rather than mapping null values to the column's default value. |
QueryRequest |
setQuery(String query)
[Required] A query string, following the BigQuery query syntax of the query to execute. |
QueryRequest |
setTimeoutMs(Long timeoutMs)
[Optional] How long to wait for the query to complete, in milliseconds, before returning. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryRequest()
Method Detail |
---|
public DatasetReference getDefaultDataset()
null
.
public QueryRequest setDefaultDataset(DatasetReference defaultDataset)
null
.
public Boolean getDryRun()
null
.
public QueryRequest setDryRun(Boolean dryRun)
null
.
public String getKind()
null
.
public QueryRequest setKind(String kind)
null
.
public Long getMaxResults()
null
.
public QueryRequest setMaxResults(Long maxResults)
null
.
public Boolean getPreserveNulls()
null
.
public QueryRequest setPreserveNulls(Boolean preserveNulls)
null
.
public String getQuery()
null
.
public QueryRequest setQuery(String query)
null
.
public Long getTimeoutMs()
null
.
public QueryRequest setTimeoutMs(Long timeoutMs)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |