public class Bigquery.Jobs.GetQueryResults extends BigqueryRequest<GetQueryResultsResponse>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Jobs.GetQueryResults(String projectId,
String jobId)
Retrieves the results of a query job.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getJobId()
Job ID of the query job
|
Long |
getMaxResults()
Maximum number of results to read
|
String |
getPageToken()
Page token, returned by a previous call, to request the next page of results
|
String |
getProjectId()
Project ID of the query job
|
BigInteger |
getStartIndex()
Zero-based index of the starting row
|
Long |
getTimeoutMs()
How long to wait for the query to complete, in milliseconds, before returning.
|
Bigquery.Jobs.GetQueryResults |
set(String parameterName,
Object value) |
Bigquery.Jobs.GetQueryResults |
setAlt(String alt)
Data format for the response.
|
Bigquery.Jobs.GetQueryResults |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.GetQueryResults |
setJobId(String jobId)
Job ID of the query job
|
Bigquery.Jobs.GetQueryResults |
setKey(String key)
API key.
|
Bigquery.Jobs.GetQueryResults |
setMaxResults(Long maxResults)
Maximum number of results to read
|
Bigquery.Jobs.GetQueryResults |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.GetQueryResults |
setPageToken(String pageToken)
Page token, returned by a previous call, to request the next page of results
|
Bigquery.Jobs.GetQueryResults |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.GetQueryResults |
setProjectId(String projectId)
Project ID of the query job
|
Bigquery.Jobs.GetQueryResults |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.GetQueryResults |
setStartIndex(BigInteger startIndex)
Zero-based index of the starting row
|
Bigquery.Jobs.GetQueryResults |
setTimeoutMs(Long timeoutMs)
How long to wait for the query to complete, in milliseconds, before returning.
|
Bigquery.Jobs.GetQueryResults |
setUserIp(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Bigquery.Jobs.GetQueryResults(String projectId, 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
- Project ID of the query jobjobId
- Job ID of the query jobpublic HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<GetQueryResultsResponse>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<GetQueryResultsResponse>
IOException
public Bigquery.Jobs.GetQueryResults setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<GetQueryResultsResponse>
public String getProjectId()
public Bigquery.Jobs.GetQueryResults setProjectId(String projectId)
public String getJobId()
public Bigquery.Jobs.GetQueryResults setJobId(String jobId)
public Long getTimeoutMs()
public Bigquery.Jobs.GetQueryResults setTimeoutMs(Long timeoutMs)
public Long getMaxResults()
public Bigquery.Jobs.GetQueryResults setMaxResults(Long maxResults)
public String getPageToken()
public Bigquery.Jobs.GetQueryResults setPageToken(String pageToken)
public BigInteger getStartIndex()
public Bigquery.Jobs.GetQueryResults setStartIndex(BigInteger startIndex)
public Bigquery.Jobs.GetQueryResults set(String parameterName, Object value)
set
in class BigqueryRequest<GetQueryResultsResponse>