public class Bigquery.Jobs.GetQueryResults extends BigqueryRequest<GetQueryResultsResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetQueryResults(String projectId,
String jobId)
RPC to get 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() |
String |
getFormatOptionsTimestampOutputFormat()
Optional.
|
Boolean |
getFormatOptionsUseInt64Timestamp()
Optional.
|
String |
getJobId()
Required.
|
String |
getLocation()
The geographic location of the 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()
Required.
|
BigInteger |
getStartIndex()
Zero-based index of the starting row.
|
Long |
getTimeoutMs()
Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait
for the query to complete.
|
Bigquery.Jobs.GetQueryResults |
set(String parameterName,
Object value) |
Bigquery.Jobs.GetQueryResults |
set$Xgafv(String $Xgafv)
V1 error format.
|
Bigquery.Jobs.GetQueryResults |
setAccessToken(String accessToken)
OAuth access token.
|
Bigquery.Jobs.GetQueryResults |
setAlt(String alt)
Data format for response.
|
Bigquery.Jobs.GetQueryResults |
setCallback(String callback)
JSONP
|
Bigquery.Jobs.GetQueryResults |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.GetQueryResults |
setFormatOptionsTimestampOutputFormat(String formatOptionsTimestampOutputFormat)
Optional.
|
Bigquery.Jobs.GetQueryResults |
setFormatOptionsUseInt64Timestamp(Boolean formatOptionsUseInt64Timestamp)
Optional.
|
Bigquery.Jobs.GetQueryResults |
setJobId(String jobId)
Required.
|
Bigquery.Jobs.GetQueryResults |
setKey(String key)
API key.
|
Bigquery.Jobs.GetQueryResults |
setLocation(String location)
The geographic location of the job.
|
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)
Required.
|
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)
Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing
to wait for the query to complete.
|
Bigquery.Jobs.GetQueryResults |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Bigquery.Jobs.GetQueryResults |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected 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
- Required. Project ID of the query job.jobId
- Required. Job ID of the query job.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetQueryResultsResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetQueryResultsResponse>
IOException
public Bigquery.Jobs.GetQueryResults set$Xgafv(String $Xgafv)
BigqueryRequest
set$Xgafv
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setAccessToken(String accessToken)
BigqueryRequest
setAccessToken
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setCallback(String callback)
BigqueryRequest
setCallback
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 setUploadType(String uploadType)
BigqueryRequest
setUploadType
in class BigqueryRequest<GetQueryResultsResponse>
public Bigquery.Jobs.GetQueryResults setUploadProtocol(String uploadProtocol)
BigqueryRequest
setUploadProtocol
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 String getFormatOptionsTimestampOutputFormat()
public Bigquery.Jobs.GetQueryResults setFormatOptionsTimestampOutputFormat(String formatOptionsTimestampOutputFormat)
public Boolean getFormatOptionsUseInt64Timestamp()
public Bigquery.Jobs.GetQueryResults setFormatOptionsUseInt64Timestamp(Boolean formatOptionsUseInt64Timestamp)
public String getLocation()
public Bigquery.Jobs.GetQueryResults setLocation(String location)
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 Long getTimeoutMs()
public Bigquery.Jobs.GetQueryResults setTimeoutMs(Long timeoutMs)
public Bigquery.Jobs.GetQueryResults set(String parameterName, Object value)
set
in class BigqueryRequest<GetQueryResultsResponse>
Copyright © 2011–2025 Google. All rights reserved.