class BigQueryHelper {

  public Table getTable(TableReference tableRef) throws IOException {
    try {
      return service
          .tables()
          .get(tableRef.getProjectId(), tableRef.getDatasetId(), tableRef.getTableId())
          .execute();
    } catch (IOException ioe) {
      throw new IOException(String.format("Failed to get table '%s'", tableRef), ioe);
    }
  }

  public  BigQueryHelper(Bigquery service);

}