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.

=========================== BigtableInstanceAdminClient ===========================

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 BigtableInstanceAdminClient:

 
 try (BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.create()) {
   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
   Instance response = bigtableInstanceAdminClient.getInstance(name);
 }
 
 
======================== BigtableTableAdminClient ========================

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 BigtableTableAdminClient:

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

Copyright © 2017 Google. All rights reserved.