congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BigtableTableAdminClient.getTableAsync
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * Gets the details of a table asynchronously.
 *
 * @param request a {@link GetTableRequest} object.
 * @return a {@link CompletableFuture} that returns a {@link Table} object.
 */
public CompletableFuture<Table> getTableAsync(GetTableRequest request) {
 return toCompletableFuture(adminClient.getTableAsync(request));
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/**
 * Gets the details of a table asynchronously.
 *
 * @param request a {@link GetTableRequest} object.
 * @return a {@link CompletableFuture} that returns a {@link Table} object.
 */
public CompletableFuture<Table> getTableAsync(GetTableRequest request) {
 return toCompletableFuture(adminClient.getTableAsync(request));
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/** {@inheritDoc} */
@Override
public ListenableFuture<Table> getTableAsync(String tableId) {
 GetTableRequest requestProto = GetTableRequest.newBuilder()
   .setName(instanceName.toTableNameStr(tableId))
   .build();
 return Futures.transform(adminClient.getTableAsync(requestProto),
   new Function<com.google.bigtable.admin.v2.Table, Table>() {
    @Override
    public Table apply(com.google.bigtable.admin.v2.Table tableProto) {
     return Table.fromProto(tableProto);
    }
   }, MoreExecutors.directExecutor());
}
com.google.cloud.bigtable.grpcBigtableTableAdminClientgetTableAsync

Javadoc

Gets the details of a table asynchronously.

Popular methods of BigtableTableAdminClient

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

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for Android Studio
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