Codota Logo
BigtableTableAdminClient.dropRowRangeAsync
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using com.google.cloud.bigtable.grpc.BigtableTableAdminClient.dropRowRangeAsync (Showing top 4 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-2.x

/**
 * Permanently deletes all rows in a range.
 *
 * @param request a {@link DropRowRangeRequest} object.
 * @return a {@link CompletableFuture} that returns {@link Empty} object.
 */
public CompletableFuture<Empty> dropRowRangeAsync(DropRowRangeRequest request) {
 return toCompletableFuture(adminClient.dropRowRangeAsync(request));
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/** {@inheritDoc} */
@Override
public ListenableFuture<Void> dropRowRangeAsync(String tableId, String rowKeyPrefix) {
 return Futures.transform(
   adminClient.dropRowRangeAsync(buildDropRowRangeRequest(tableId, rowKeyPrefix)),
   new Function<Empty, Void>() {
    @Override
    public Void apply(Empty empty) {
     return null;
    }
   }, MoreExecutors.directExecutor());
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/**
 * Permanently deletes all rows in a range.
 *
 * @param request a {@link DropRowRangeRequest} object.
 * @return a {@link CompletableFuture} that returns {@link Empty} object.
 */
public CompletableFuture<Empty> dropRowRangeAsync(DropRowRangeRequest request) {
 return toCompletableFuture(adminClient.dropRowRangeAsync(request));
}
origin: com.google.cloud.bigtable/bigtable-hbase-2.x

@Override
public Future<Void> truncateTableAsync(TableName tableName, boolean preserveSplits) throws IOException {
 if (!preserveSplits) {
  LOG.info("truncate will preserveSplits. The passed in variable is ignored.");
 }
 DropRowRangeRequest.Builder deleteRequest = DropRowRangeRequest.newBuilder().setDeleteAllDataFromTable(true);
 return FutureUtils.toCompletableFuture(
   bigtableTableAdminClient
    .dropRowRangeAsync(deleteRequest.setName(toBigtableName(tableName)).build()))
   .thenApply(r -> null);
}
/* ******* Unsupported methods *********** */
com.google.cloud.bigtable.grpcBigtableTableAdminClientdropRowRangeAsync

Javadoc

Permanently deletes all rows in a range.

Popular methods of BigtableTableAdminClient

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getSharedPreferences (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Reference (javax.naming)
  • JLabel (javax.swing)
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