public class Bigquery.Jobs.GetQueryResults extends BigqueryRequest<GetQueryResultsResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Jobs.GetQueryResults(java.lang.String projectId,
java.lang.String jobId)
Retrieves the results of a query job.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getJobId()
[ Required] Job ID of the query job
[
|
java.lang.Long |
getMaxResults()
Maximum number of results to read
|
java.lang.String |
getPageToken()
Page token, returned by a previous call, to request the next page of results
|
java.lang.String |
getProjectId()
[ Required] Project ID of the query job
[
|
java.math.BigInteger |
getStartIndex()
Zero-based index of the starting row
|
java.lang.Long |
getTimeoutMs()
How long to wait for the query to complete, in milliseconds, before returning.
|
Bigquery.Jobs.GetQueryResults |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Jobs.GetQueryResults |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Jobs.GetQueryResults |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.GetQueryResults |
setJobId(java.lang.String jobId)
[Required] Job ID of the query job
|
Bigquery.Jobs.GetQueryResults |
setKey(java.lang.String key)
API key.
|
Bigquery.Jobs.GetQueryResults |
setMaxResults(java.lang.Long maxResults)
Maximum number of results to read
|
Bigquery.Jobs.GetQueryResults |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.GetQueryResults |
setPageToken(java.lang.String pageToken)
Page token, returned by a previous call, to request the next page of results
|
Bigquery.Jobs.GetQueryResults |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.GetQueryResults |
setProjectId(java.lang.String projectId)
[Required] Project ID of the query job
|
Bigquery.Jobs.GetQueryResults |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.GetQueryResults |
setStartIndex(java.math.BigInteger startIndex)
Zero-based index of the starting row
|
Bigquery.Jobs.GetQueryResults |
setTimeoutMs(java.lang.Long timeoutMs)
How long to wait for the query to complete, in milliseconds, before returning.
|
Bigquery.Jobs.GetQueryResults |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Bigquery.Jobs.GetQueryResults(java.lang.String projectId, java.lang.String jobId)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. GetQueryResults#initialize(com.google.api.client.googleapis.services.Abst
ractGoogleClientRequest)
must be called to initialize this instance immediately after invoking
the constructor.
projectId
- [Required] Project ID of the query jobjobId
- [Required] Job ID of the query jobpublic com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetQueryResultsResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetQueryResultsResponse>
java.io.IOException
public Bigquery.Jobs.GetQueryResults setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<GetQueryResultsResponse>
public java.lang.String getProjectId()
public Bigquery.Jobs.GetQueryResults setProjectId(java.lang.String projectId)
public java.lang.String getJobId()
public Bigquery.Jobs.GetQueryResults setJobId(java.lang.String jobId)
public java.lang.Long getMaxResults()
public Bigquery.Jobs.GetQueryResults setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Bigquery.Jobs.GetQueryResults setPageToken(java.lang.String pageToken)
public java.math.BigInteger getStartIndex()
public Bigquery.Jobs.GetQueryResults setStartIndex(java.math.BigInteger startIndex)
public java.lang.Long getTimeoutMs()
public Bigquery.Jobs.GetQueryResults setTimeoutMs(java.lang.Long timeoutMs)
public Bigquery.Jobs.GetQueryResults set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<GetQueryResultsResponse>