|
||||||||||
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-http-java-client/wiki/JSON
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 | |
---|---|
QueryRequest |
clone()
|
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. |
Boolean |
getUseQueryCache()
[Optional] Whether to look for the result in the query cache. |
QueryRequest |
set(String fieldName,
Object value)
|
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. |
QueryRequest |
setUseQueryCache(Boolean useQueryCache)
[Optional] Whether to look for the result in the query cache. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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
for nonepublic QueryRequest setDefaultDataset(DatasetReference defaultDataset)
defaultDataset
- defaultDataset or null
for nonepublic Boolean getDryRun()
null
for nonepublic QueryRequest setDryRun(Boolean dryRun)
dryRun
- dryRun or null
for nonepublic String getKind()
null
for nonepublic QueryRequest setKind(String kind)
kind
- kind or null
for nonepublic Long getMaxResults()
null
for nonepublic QueryRequest setMaxResults(Long maxResults)
maxResults
- maxResults or null
for nonepublic Boolean getPreserveNulls()
null
for nonepublic QueryRequest setPreserveNulls(Boolean preserveNulls)
preserveNulls
- preserveNulls or null
for nonepublic String getQuery()
null
for nonepublic QueryRequest setQuery(String query)
query
- query or null
for nonepublic Long getTimeoutMs()
null
for nonepublic QueryRequest setTimeoutMs(Long timeoutMs)
timeoutMs
- timeoutMs or null
for nonepublic Boolean getUseQueryCache()
null
for nonepublic QueryRequest setUseQueryCache(Boolean useQueryCache)
useQueryCache
- useQueryCache or null
for nonepublic QueryRequest set(String fieldName, Object value)
set
in class GenericJson
public QueryRequest clone()
clone
in class GenericJson
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |