Codota Logo
BigtableTableAdminClient.listTables
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • putExtra (Intent)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • String (java.lang)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now