Skip navigation links

Package com.google.cloud.bigtable.admin.v2

A client to Cloud Bigtable Admin API.

See: Description

Package com.google.cloud.bigtable.admin.v2 Description

A client to Cloud Bigtable Admin API.

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

=============================== BaseBigtableInstanceAdminClient ===============================

Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata or data stored in those tables.

Sample for BaseBigtableInstanceAdminClient:

 
 try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = BaseBigtableInstanceAdminClient.create()) {
   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
 }
 
 
============================ BaseBigtableTableAdminClient ============================

Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables.

Provides access to the table schemas only, not the data stored within the tables.

Sample for BaseBigtableTableAdminClient:

 
 try (BaseBigtableTableAdminClient baseBigtableTableAdminClient = BaseBigtableTableAdminClient.create()) {
   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
   String tableId = "";
   Table table = Table.newBuilder().build();
   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.