Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables
Class Fusiontables.Table

java.lang.Object
  extended by com.google.api.services.fusiontables.Fusiontables.Table
Enclosing class:
Fusiontables

public class Fusiontables.Table
extends java.lang.Object

The "table" collection of methods.


Nested Class Summary
 class Fusiontables.Table.Copy
           
 class Fusiontables.Table.Delete
           
 class Fusiontables.Table.Get
           
 class Fusiontables.Table.ImportRows
           
 class Fusiontables.Table.Insert
           
 class Fusiontables.Table.List
           
 class Fusiontables.Table.Patch
           
 class Fusiontables.Table.Update
           
 
Constructor Summary
Fusiontables.Table()
           
 
Method Summary
 Fusiontables.Table.Copy copy(java.lang.String tableId)
          Copies a table.
 Fusiontables.Table.Delete delete(java.lang.String tableId)
          Deletes a table.
 Fusiontables.Table.Get get(java.lang.String tableId)
          Retrieves a specific table by its id.
 Fusiontables.Table.ImportRows importRows(java.lang.String tableId)
          Import more rows into a table.
 Fusiontables.Table.ImportRows importRows(java.lang.String tableId, AbstractInputStreamContent mediaContent)
          Import more rows into a table.
 Fusiontables.Table.Insert insert(Table content)
          Creates a new table.
 Fusiontables.Table.List list()
          Retrieves a list of tables a user owns.
 Fusiontables.Table.Patch patch(java.lang.String tableId, Table content)
          Updates an existing table.
 Fusiontables.Table.Update update(java.lang.String tableId, Table content)
          Updates an existing table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fusiontables.Table

public Fusiontables.Table()
Method Detail

copy

public Fusiontables.Table.Copy copy(java.lang.String tableId)
                             throws java.io.IOException
Copies a table. Create a request for the method "table.copy". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - ID of the table that is being copied.
Returns:
the request
Throws:
java.io.IOException

delete

public Fusiontables.Table.Delete delete(java.lang.String tableId)
                                 throws java.io.IOException
Deletes a table. Create a request for the method "table.delete". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - ID of the table that is being deleted.
Returns:
the request
Throws:
java.io.IOException

get

public Fusiontables.Table.Get get(java.lang.String tableId)
                           throws java.io.IOException
Retrieves a specific table by its id. Create a request for the method "table.get". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Identifier(ID) for the table being requested.
Returns:
the request
Throws:
java.io.IOException

importRows

public Fusiontables.Table.ImportRows importRows(java.lang.String tableId)
                                         throws java.io.IOException
Import more rows into a table. Create a request for the method "table.importRows". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - The table into which new rows are being imported.
Returns:
the request
Throws:
java.io.IOException

importRows

public Fusiontables.Table.ImportRows importRows(java.lang.String tableId,
                                                AbstractInputStreamContent mediaContent)
                                         throws java.io.IOException
Import more rows into a table. Create a request for the method "table.importRows". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

This method should be used for uploading media content.

Parameters:
tableId - The table into which new rows are being imported.
mediaContent - The media HTTP content or null if none.
Returns:
the request
Throws:
java.io.IOException - if the initialization of the request fails

insert

public Fusiontables.Table.Insert insert(Table content)
                                 throws java.io.IOException
Creates a new table. Create a request for the method "table.insert". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
content - the Table
Returns:
the request
Throws:
java.io.IOException

list

public Fusiontables.Table.List list()
                             throws java.io.IOException
Retrieves a list of tables a user owns. Create a request for the method "table.list". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Returns:
the request
Throws:
java.io.IOException

patch

public Fusiontables.Table.Patch patch(java.lang.String tableId,
                                      Table content)
                               throws java.io.IOException
Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics. Create a request for the method "table.patch". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - ID of the table that is being updated.
content - the Table
Returns:
the request
Throws:
java.io.IOException

update

public Fusiontables.Table.Update update(java.lang.String tableId,
                                        Table content)
                                 throws java.io.IOException
Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. Create a request for the method "table.update". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - ID of the table that is being updated.
content - the Table
Returns:
the request
Throws:
java.io.IOException