public final class GetQueryResultsResponse extends 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GetQueryResultsResponse() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getCacheHit()
Whether the query result was fetched from the query cache.
|
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.
|
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.
|
com.google.common.primitives.UnsignedLong |
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 |
setCacheHit(Boolean cacheHit)
Whether the query result was fetched from the query cache.
|
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 |
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 |
setTotalRows(com.google.common.primitives.UnsignedLong 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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getCacheHit()
null
.public GetQueryResultsResponse setCacheHit(Boolean cacheHit)
null
.public String getEtag()
null
.public GetQueryResultsResponse setEtag(String etag)
null
.public Boolean getJobComplete()
null
.public GetQueryResultsResponse setJobComplete(Boolean jobComplete)
null
.public JobReference getJobReference()
null
.public GetQueryResultsResponse setJobReference(JobReference jobReference)
null
.public String getKind()
null
.public GetQueryResultsResponse setKind(String kind)
null
.public String getPageToken()
null
.public GetQueryResultsResponse setPageToken(String pageToken)
null
.public List<TableRow> getRows()
null
.public GetQueryResultsResponse setRows(List<TableRow> rows)
null
.public TableSchema getSchema()
null
.public GetQueryResultsResponse setSchema(TableSchema schema)
null
.public com.google.common.primitives.UnsignedLong getTotalRows()
null
.public GetQueryResultsResponse setTotalRows(com.google.common.primitives.UnsignedLong totalRows)
null
.