Class CheckedBigquery

java.lang.Object
google.registry.bigquery.CheckedBigquery

public class CheckedBigquery extends Object
Wrapper of Bigquery with validation helpers.
  • Method Details

    • ensureDataSetExists

      public com.google.api.services.bigquery.Bigquery ensureDataSetExists(String projectId, String datasetId) throws IOException
      Returns a new connection to Bigquery, first ensuring that the given dataset exists in the project with the given id, creating it if required.
      Throws:
      IOException
    • ensureDataSetAndTableExist

      public com.google.api.services.bigquery.Bigquery ensureDataSetAndTableExist(String projectId, String datasetId, String tableId) throws IOException
      Returns a new connection to Bigquery, first ensuring that the given dataset and table exist in project with the given id, creating them if required.
      Throws:
      IOException