|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.bigquery.model.QueryResponse
public final class QueryResponse
Model definition for QueryResponse.
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
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
QueryResponse()
|
Method Summary | |
---|---|
QueryResponse |
clone()
|
Boolean |
getCacheHit()
Whether the query result was fetched from the query cache. |
Boolean |
getJobComplete()
Whether the query has completed or not. |
JobReference |
getJobReference()
Reference to the Job that was created to run the query. |
String |
getKind()
The resource type. |
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. |
QueryResponse |
set(String fieldName,
Object value)
|
QueryResponse |
setCacheHit(Boolean cacheHit)
Whether the query result was fetched from the query cache. |
QueryResponse |
setJobComplete(Boolean jobComplete)
Whether the query has completed or not. |
QueryResponse |
setJobReference(JobReference jobReference)
Reference to the Job that was created to run the query. |
QueryResponse |
setKind(String kind)
The resource type. |
QueryResponse |
setPageToken(String pageToken)
A token used for paging results. |
QueryResponse |
setRows(List<TableRow> rows)
An object with as many results as can be contained within the maximum permitted reply size. |
QueryResponse |
setSchema(TableSchema schema)
The schema of the results. |
QueryResponse |
setTotalBytesProcessed(Long totalBytesProcessed)
The total number of bytes processed for this query. |
QueryResponse |
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. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryResponse()
Method Detail |
---|
public Boolean getCacheHit()
null
for nonepublic QueryResponse setCacheHit(Boolean cacheHit)
cacheHit
- cacheHit or null
for nonepublic Boolean getJobComplete()
null
for nonepublic QueryResponse setJobComplete(Boolean jobComplete)
jobComplete
- jobComplete or null
for nonepublic JobReference getJobReference()
null
for nonepublic QueryResponse setJobReference(JobReference jobReference)
jobReference
- jobReference or null
for nonepublic String getKind()
null
for nonepublic QueryResponse setKind(String kind)
kind
- kind or null
for nonepublic String getPageToken()
null
for nonepublic QueryResponse setPageToken(String pageToken)
pageToken
- pageToken or null
for nonepublic List<TableRow> getRows()
null
for nonepublic QueryResponse setRows(List<TableRow> rows)
rows
- rows or null
for nonepublic TableSchema getSchema()
null
for nonepublic QueryResponse setSchema(TableSchema schema)
schema
- schema or null
for nonepublic Long getTotalBytesProcessed()
null
for nonepublic QueryResponse setTotalBytesProcessed(Long totalBytesProcessed)
totalBytesProcessed
- totalBytesProcessed or null
for nonepublic BigInteger getTotalRows()
null
for nonepublic QueryResponse setTotalRows(BigInteger totalRows)
totalRows
- totalRows or null
for nonepublic QueryResponse set(String fieldName, Object value)
set
in class GenericJson
public QueryResponse clone()
clone
in class GenericJson
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |