BigQuery API v2 (revision 75)



com.google.api.services.bigquery.model
Class TableDataList

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.TableDataList
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class TableDataList
extends GenericJson

Model definition for TableDataList.

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

Author:
Google, Inc.

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
TableDataList()
           
 
Method Summary
 TableDataList clone()
           
 String getEtag()
          A hash of this page of results.
 String getKind()
          The resource type of the response.
 String getPageToken()
          A token used for paging results.
 List<TableRow> getRows()
          Rows of results.
 Long getTotalRows()
          The total number of rows in the complete table.
 TableDataList set(String fieldName, Object value)
           
 TableDataList setEtag(String etag)
          A hash of this page of results.
 TableDataList setKind(String kind)
          The resource type of the response.
 TableDataList setPageToken(String pageToken)
          A token used for paging results.
 TableDataList setRows(List<TableRow> rows)
          Rows of results.
 TableDataList setTotalRows(Long totalRows)
          The total number of rows in the complete table.
 
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

TableDataList

public TableDataList()
Method Detail

getEtag

public String getEtag()
A hash of this page of results.

Returns:
value or null for none

setEtag

public TableDataList setEtag(String etag)
A hash of this page of results.

Parameters:
etag - etag or null for none

getKind

public String getKind()
The resource type of the response.

Returns:
value or null for none

setKind

public TableDataList setKind(String kind)
The resource type of the response.

Parameters:
kind - kind or null for none

getPageToken

public String getPageToken()
A token used for paging results. Providing this token instead of the startRow parameter can help you retrieve stable results when an underlying table is changing.

Returns:
value or null for none

setPageToken

public TableDataList setPageToken(String pageToken)
A token used for paging results. Providing this token instead of the startRow parameter can help you retrieve stable results when an underlying table is changing.

Parameters:
pageToken - pageToken or null for none

getRows

public List<TableRow> getRows()
Rows of results.

Returns:
value or null for none

setRows

public TableDataList setRows(List<TableRow> rows)
Rows of results.

Parameters:
rows - rows or null for none

getTotalRows

public Long getTotalRows()
The total number of rows in the complete table.

Returns:
value or null for none

setTotalRows

public TableDataList setTotalRows(Long totalRows)
The total number of rows in the complete table.

Parameters:
totalRows - totalRows or null for none

set

public TableDataList set(String fieldName,
                         Object value)
Overrides:
set in class GenericJson

clone

public TableDataList clone()
Overrides:
clone in class GenericJson