Tabnine Logo
BigtableTableAdminClient.listTables
Code IndexAdd Tabnine to your IDE (free)

How to use
listTables
method
in
com.google.cloud.bigtable.grpc.BigtableTableAdminClient

Best Java code snippets using com.google.cloud.bigtable.grpc.BigtableTableAdminClient.listTables (Showing top 2 results out of 315)

origin: com.google.cloud.bigtable/bigtable-hbase

/**
 * Request a list of Tables for the cluster.  The {@link Table}s in the response will only
 * contain fully qualified Bigtable table names, and not column family information.
 */
private ListTablesResponse requestTableList() throws IOException {
 try {
  ListTablesRequest.Builder builder = ListTablesRequest.newBuilder();
  builder.setParent(bigtableInstanceName.toString());
  return bigtableTableAdminClient.listTables(builder.build());
 } catch (Throwable throwable) {
  throw new IOException("Failed to listTables", throwable);
 }
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/** {@inheritDoc} */
@Override
public List<String> listTables() {
 ListTablesRequest requestProto = ListTablesRequest.newBuilder()
   .setParent(instanceName.toString())
   .build();
 ListTablesResponse response = adminClient.listTables(requestProto);
 ImmutableList.Builder<String> tableIdsBuilder = ImmutableList.builder();
 for(com.google.bigtable.admin.v2.Table tableProto : response.getTablesList()){
  tableIdsBuilder.add(instanceName.toTableId(tableProto.getName()));
 }
 return tableIdsBuilder.build();
}
com.google.cloud.bigtable.grpcBigtableTableAdminClientlistTables

Javadoc

Lists the names of all tables in an instance.

Popular methods of BigtableTableAdminClient

  • getTable
  • createTable
  • createTableAsync
  • deleteTable
  • createTableFromSnapshotAsync
  • deleteSnapshotAsync
  • deleteTableAsync
  • dropRowRange
  • dropRowRangeAsync
  • getTableAsync
  • listSnapshotsAsync
  • listTablesAsync
  • listSnapshotsAsync,
  • listTablesAsync,
  • modifyColumnFamily,
  • modifyColumnFamilyAsync,
  • snapshotTableAsync,
  • getSnapshotAsync

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTextField (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now