BigQuery API v2 (revision 76)



com.google.api.services.bigquery
Class Bigquery.Tables

java.lang.Object
  extended by com.google.api.services.bigquery.Bigquery.Tables
Enclosing class:
Bigquery

public class Bigquery.Tables
extends Object

The "tables" collection of methods.


Nested Class Summary
 class Bigquery.Tables.Delete
           
 class Bigquery.Tables.Get
           
 class Bigquery.Tables.Insert
           
 class Bigquery.Tables.List
           
 class Bigquery.Tables.Patch
           
 class Bigquery.Tables.Update
           
 
Constructor Summary
Bigquery.Tables()
           
 
Method Summary
 Bigquery.Tables.Delete delete(String projectId, String datasetId, String tableId)
          Deletes the table specified by tableId from the dataset.
 Bigquery.Tables.Get get(String projectId, String datasetId, String tableId)
          Gets the specified table resource by table ID.
 Bigquery.Tables.Insert insert(String projectId, String datasetId, Table content)
          Creates a new, empty table in the dataset.
 Bigquery.Tables.List list(String projectId, String datasetId)
          Lists all tables in the specified dataset.
 Bigquery.Tables.Patch patch(String projectId, String datasetId, String tableId, Table content)
          Updates information in an existing table, specified by tableId.
 Bigquery.Tables.Update update(String projectId, String datasetId, String tableId, Table content)
          Updates information in an existing table, specified by tableId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bigquery.Tables

public Bigquery.Tables()
Method Detail

delete

public Bigquery.Tables.Delete delete(String projectId,
                                     String datasetId,
                                     String tableId)
                              throws IOException
Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. Create a request for the method "tables.delete". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the table to delete
datasetId - Dataset ID of the table to delete
tableId - Table ID of the table to delete
Returns:
the request
Throws:
IOException

get

public Bigquery.Tables.Get get(String projectId,
                               String datasetId,
                               String tableId)
                        throws IOException
Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. Create a request for the method "tables.get". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the requested table
datasetId - Dataset ID of the requested table
tableId - Table ID of the requested table
Returns:
the request
Throws:
IOException

insert

public Bigquery.Tables.Insert insert(String projectId,
                                     String datasetId,
                                     Table content)
                              throws IOException
Creates a new, empty table in the dataset. Create a request for the method "tables.insert". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the new table
datasetId - Dataset ID of the new table
content - the Table
Returns:
the request
Throws:
IOException

list

public Bigquery.Tables.List list(String projectId,
                                 String datasetId)
                          throws IOException
Lists all tables in the specified dataset. Create a request for the method "tables.list". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the tables to list
datasetId - Dataset ID of the tables to list
Returns:
the request
Throws:
IOException

patch

public Bigquery.Tables.Patch patch(String projectId,
                                   String datasetId,
                                   String tableId,
                                   Table content)
                            throws IOException
Updates information in an existing table, specified by tableId. This method supports patch semantics. Create a request for the method "tables.patch". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the table to update
datasetId - Dataset ID of the table to update
tableId - Table ID of the table to update
content - the Table
Returns:
the request
Throws:
IOException

update

public Bigquery.Tables.Update update(String projectId,
                                     String datasetId,
                                     String tableId,
                                     Table content)
                              throws IOException
Updates information in an existing table, specified by tableId. Create a request for the method "tables.update". This request holds the parameters needed by the the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
projectId - Project ID of the table to update
datasetId - Dataset ID of the table to update
tableId - Table ID of the table to update
content - the Table
Returns:
the request
Throws:
IOException