Package com.google.cloud.bigquery.storage.v1alpha


@Generated("by gapic-generator-java") package com.google.cloud.bigquery.storage.v1alpha
A client to BigQuery Storage API

The interfaces provided are listed below, along with usage samples.

======================= MetastorePartitionServiceClient =======================

Service Description: BigQuery Metastore Partition Service API. This service is used for managing metastore partitions in BigQuery metastore. The service supports only batch operations for write.

Sample for MetastorePartitionServiceClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (MetastorePartitionServiceClient metastorePartitionServiceClient =
     MetastorePartitionServiceClient.create()) {
   BatchCreateMetastorePartitionsRequest request =
       BatchCreateMetastorePartitionsRequest.newBuilder()
           .setParent(TableName.of("[PROJECT]", "[DATASET]", "[TABLE]").toString())
           .addAllRequests(new ArrayList<CreateMetastorePartitionRequest>())
           .setSkipExistingPartitions(true)
           .build();
   BatchCreateMetastorePartitionsResponse response =
       metastorePartitionServiceClient.batchCreateMetastorePartitions(request);
 }