public final class GetQueryResultsResponse
extends com.google.api.client.json.GenericJson
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GetQueryResultsResponse() |
| Modifier and Type | Method and Description |
|---|---|
GetQueryResultsResponse |
clone() |
Boolean |
getCacheHit()
Whether the query result was fetched from the query cache.
|
List<ErrorProto> |
getErrors()
Output only.
|
String |
getEtag()
A hash of this response.
|
Boolean |
getJobComplete()
Whether the query has completed or not.
|
JobReference |
getJobReference()
Reference to the BigQuery Job that was created to run the query.
|
String |
getKind()
The resource type of the response.
|
Long |
getNumDmlAffectedRows()
Output only.
|
String |
getPageToken()
A token used for paging results.
|
List<TableRow> |
getRows()
An object with as many results as can be contained within the maximum permitted reply size.
|
TableSchema |
getSchema()
The schema of the results.
|
Long |
getTotalBytesProcessed()
The total number of bytes processed for this query.
|
BigInteger |
getTotalRows()
The total number of rows in the complete query result set, which can be more than the number of
rows in this single page of results.
|
GetQueryResultsResponse |
set(String fieldName,
Object value) |
GetQueryResultsResponse |
setCacheHit(Boolean cacheHit)
Whether the query result was fetched from the query cache.
|
GetQueryResultsResponse |
setErrors(List<ErrorProto> errors)
Output only.
|
GetQueryResultsResponse |
setEtag(String etag)
A hash of this response.
|
GetQueryResultsResponse |
setJobComplete(Boolean jobComplete)
Whether the query has completed or not.
|
GetQueryResultsResponse |
setJobReference(JobReference jobReference)
Reference to the BigQuery Job that was created to run the query.
|
GetQueryResultsResponse |
setKind(String kind)
The resource type of the response.
|
GetQueryResultsResponse |
setNumDmlAffectedRows(Long numDmlAffectedRows)
Output only.
|
GetQueryResultsResponse |
setPageToken(String pageToken)
A token used for paging results.
|
GetQueryResultsResponse |
setRows(List<TableRow> rows)
An object with as many results as can be contained within the maximum permitted reply size.
|
GetQueryResultsResponse |
setSchema(TableSchema schema)
The schema of the results.
|
GetQueryResultsResponse |
setTotalBytesProcessed(Long totalBytesProcessed)
The total number of bytes processed for this query.
|
GetQueryResultsResponse |
setTotalRows(BigInteger totalRows)
The total number of rows in the complete query result set, which can be more than the number of
rows in this single page of results.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getCacheHit()
null for nonepublic GetQueryResultsResponse setCacheHit(Boolean cacheHit)
cacheHit - cacheHit or null for nonepublic List<ErrorProto> getErrors()
null for nonepublic GetQueryResultsResponse setErrors(List<ErrorProto> errors)
errors - errors or null for nonepublic String getEtag()
null for nonepublic GetQueryResultsResponse setEtag(String etag)
etag - etag or null for nonepublic Boolean getJobComplete()
null for nonepublic GetQueryResultsResponse setJobComplete(Boolean jobComplete)
jobComplete - jobComplete or null for nonepublic JobReference getJobReference()
null for nonepublic GetQueryResultsResponse setJobReference(JobReference jobReference)
jobReference - jobReference or null for nonepublic String getKind()
null for nonepublic GetQueryResultsResponse setKind(String kind)
kind - kind or null for nonepublic Long getNumDmlAffectedRows()
null for nonepublic GetQueryResultsResponse setNumDmlAffectedRows(Long numDmlAffectedRows)
numDmlAffectedRows - numDmlAffectedRows or null for nonepublic String getPageToken()
null for nonepublic GetQueryResultsResponse setPageToken(String pageToken)
pageToken - pageToken or null for nonepublic List<TableRow> getRows()
null for nonepublic GetQueryResultsResponse setRows(List<TableRow> rows)
rows - rows or null for nonepublic TableSchema getSchema()
null for nonepublic GetQueryResultsResponse setSchema(TableSchema schema)
schema - schema or null for nonepublic Long getTotalBytesProcessed()
null for nonepublic GetQueryResultsResponse setTotalBytesProcessed(Long totalBytesProcessed)
totalBytesProcessed - totalBytesProcessed or null for nonepublic BigInteger getTotalRows()
null for nonepublic GetQueryResultsResponse setTotalRows(BigInteger totalRows)
totalRows - totalRows or null for nonepublic GetQueryResultsResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GetQueryResultsResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.