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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GetQueryResultsResponse() |
Modifier and Type | Method and Description |
---|---|
GetQueryResultsResponse |
clone() |
java.lang.Boolean |
getCacheHit()
Whether the query result was fetched from the query cache.
|
java.util.List<ErrorProto> |
getErrors()
[Output-only] The first errors or warnings encountered during the running of the job.
|
java.lang.String |
getEtag()
A hash of this response.
|
java.lang.Boolean |
getJobComplete()
Whether the query has completed or not.
|
JobReference |
getJobReference()
Reference to the BigQuery Job that was created to run the query.
|
java.lang.String |
getKind()
The resource type of the response.
|
java.lang.Long |
getNumDmlAffectedRows()
[Output-only] The number of rows affected by a DML statement.
|
java.lang.String |
getPageToken()
A token used for paging results.
|
java.util.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.
|
java.lang.Long |
getTotalBytesProcessed()
The total number of bytes processed for this query.
|
java.math.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(java.lang.String fieldName,
java.lang.Object value) |
GetQueryResultsResponse |
setCacheHit(java.lang.Boolean cacheHit)
Whether the query result was fetched from the query cache.
|
GetQueryResultsResponse |
setErrors(java.util.List<ErrorProto> errors)
[Output-only] The first errors or warnings encountered during the running of the job.
|
GetQueryResultsResponse |
setEtag(java.lang.String etag)
A hash of this response.
|
GetQueryResultsResponse |
setJobComplete(java.lang.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(java.lang.String kind)
The resource type of the response.
|
GetQueryResultsResponse |
setNumDmlAffectedRows(java.lang.Long numDmlAffectedRows)
[Output-only] The number of rows affected by a DML statement.
|
GetQueryResultsResponse |
setPageToken(java.lang.String pageToken)
A token used for paging results.
|
GetQueryResultsResponse |
setRows(java.util.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(java.lang.Long totalBytesProcessed)
The total number of bytes processed for this query.
|
GetQueryResultsResponse |
setTotalRows(java.math.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getCacheHit()
null
for nonepublic GetQueryResultsResponse setCacheHit(java.lang.Boolean cacheHit)
cacheHit
- cacheHit or null
for nonepublic java.util.List<ErrorProto> getErrors()
null
for nonepublic GetQueryResultsResponse setErrors(java.util.List<ErrorProto> errors)
errors
- errors or null
for nonepublic java.lang.String getEtag()
null
for nonepublic GetQueryResultsResponse setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.Boolean getJobComplete()
null
for nonepublic GetQueryResultsResponse setJobComplete(java.lang.Boolean jobComplete)
jobComplete
- jobComplete or null
for nonepublic JobReference getJobReference()
null
for nonepublic GetQueryResultsResponse setJobReference(JobReference jobReference)
jobReference
- jobReference or null
for nonepublic java.lang.String getKind()
null
for nonepublic GetQueryResultsResponse setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.Long getNumDmlAffectedRows()
null
for nonepublic GetQueryResultsResponse setNumDmlAffectedRows(java.lang.Long numDmlAffectedRows)
numDmlAffectedRows
- numDmlAffectedRows or null
for nonepublic java.lang.String getPageToken()
null
for nonepublic GetQueryResultsResponse setPageToken(java.lang.String pageToken)
pageToken
- pageToken or null
for nonepublic java.util.List<TableRow> getRows()
null
for nonepublic GetQueryResultsResponse setRows(java.util.List<TableRow> rows)
rows
- rows or null
for nonepublic TableSchema getSchema()
null
for nonepublic GetQueryResultsResponse setSchema(TableSchema schema)
schema
- schema or null
for nonepublic java.lang.Long getTotalBytesProcessed()
null
for nonepublic GetQueryResultsResponse setTotalBytesProcessed(java.lang.Long totalBytesProcessed)
totalBytesProcessed
- totalBytesProcessed or null
for nonepublic java.math.BigInteger getTotalRows()
null
for nonepublic GetQueryResultsResponse setTotalRows(java.math.BigInteger totalRows)
totalRows
- totalRows or null
for nonepublic GetQueryResultsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GetQueryResultsResponse clone()
clone
in class com.google.api.client.json.GenericJson