Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables.model
Class Sqlresponse

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

public final class Sqlresponse
extends GenericJson

Represents a response to an sql statement.

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 Fusion Tables 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()

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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
Sqlresponse()
           
 
Method Summary
 java.util.List<java.lang.String> getColumns()
          Columns in the table.
 java.lang.String getKind()
          Type name: a template for an individual table.
 java.util.List<java.util.List<java.lang.Object>> getRows()
          The rows in the table.
 Sqlresponse setColumns(java.util.List<java.lang.String> columns)
          Columns in the table.
 Sqlresponse setKind(java.lang.String kind)
          Type name: a template for an individual table.
 Sqlresponse setRows(java.util.List<java.util.List<java.lang.Object>> rows)
          The rows in the table.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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

Sqlresponse

public Sqlresponse()
Method Detail

getColumns

public java.util.List<java.lang.String> getColumns()
Columns in the table. The value returned may be null.


setColumns

public Sqlresponse setColumns(java.util.List<java.lang.String> columns)
Columns in the table. The value set may be null.


getKind

public java.lang.String getKind()
Type name: a template for an individual table. The value returned may be null.


setKind

public Sqlresponse setKind(java.lang.String kind)
Type name: a template for an individual table. The value set may be null.


getRows

public java.util.List<java.util.List<java.lang.Object>> getRows()
The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value. The value returned may be null.


setRows

public Sqlresponse setRows(java.util.List<java.util.List<java.lang.Object>> rows)
The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value. The value set may be null.