public class Bigquery.Jobs.Query extends BigqueryRequest<QueryResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Query(java.lang.String projectId,
QueryRequest content)
Runs a BigQuery SQL query synchronously and returns query results if the query completes within
a specified timeout.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProjectId()
Project ID of the project billed for the query
|
Bigquery.Jobs.Query |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Jobs.Query |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Jobs.Query |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.Query |
setKey(java.lang.String key)
API key.
|
Bigquery.Jobs.Query |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.Query |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.Query |
setProjectId(java.lang.String projectId)
Project ID of the project billed for the query
|
Bigquery.Jobs.Query |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Jobs.Query |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Query(java.lang.String projectId, QueryRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
projectId
- Project ID of the project billed for the querycontent
- the QueryRequest
public Bigquery.Jobs.Query setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<QueryResponse>
public Bigquery.Jobs.Query setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<QueryResponse>
public java.lang.String getProjectId()
public Bigquery.Jobs.Query setProjectId(java.lang.String projectId)
public Bigquery.Jobs.Query set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<QueryResponse>