AdminClientVeneerApi implements AdminClientWrapper { @Override public ApiFuture<Void> dropRowRangeAsync(String tableId, ByteString rowKeyPrefix) { return delegate.dropRowRangeAsync(tableId, rowKeyPrefix); } AdminClientVeneerApi(BigtableTableAdminClient delegate); @Override ApiFuture<Table> createTableAsync(CreateTableRequest request); @Override ApiFuture<Table> getTableAsync(String tableId); @Override ApiFuture<List<String>> listTablesAsync(); @Override ApiFuture<Void> deleteTableAsync(String tableId); @Override ApiFuture<Table> modifyFamiliesAsync(ModifyColumnFamiliesRequest request); @Override ApiFuture<Void> dropRowRangeAsync(String tableId, ByteString rowKeyPrefix); @Override ApiFuture<Void> dropAllRowsAsync(String tableId); @Override void close();  }
@Test public void dropRowRangeAsync() throws Exception { ByteString rowKey = ByteString.copyFromUtf8("cf-dropRange-async"); adminClientWrapper.dropRowRangeAsync(TABLE_ID_1, rowKey).get(); DropRowRangeRequest rangeRequest = fakeAdminService.popLastRequest(); assertEquals(TABLE_ID_1, NameUtil.extractTableIdFromTableName(rangeRequest.getName())); assertEquals(rowKey, rangeRequest.getRowKeyPrefix()); }