All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.Bigquery.Tables.html Maven / Gradle / Ivy







Bigquery.Tables (BigQuery API v2-rev20190423-1.28.0)












com.google.api.services.bigquery

Class Bigquery.Tables

  • Enclosing class:
    Bigquery


    public class Bigquery.Tables
    extends Object
    The "tables" collection of methods.
    • Constructor Detail

      • Tables

        public 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 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 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 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. Requires the READER dataset role. Create a request for the method "tables.list". This request holds the parameters needed by 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. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics. Create a request for the method "tables.patch". This request holds the parameters needed by 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. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. Create a request for the method "tables.update". This request holds the parameters needed by 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

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy