@Test public void testCheckAndMutateRowAsync() throws Exception { ConditionalRowMutation conditionalRowM = ConditionalRowMutation.create(TABLE_ID, ROW_KEY); when(mockDataClient.checkAndMutateRowAsync(conditionalRowM)) .thenReturn(ApiFutures.immediateFuture(Boolean.TRUE)); assertTrue(dataClientWrapper.checkAndMutateRowAsync(conditionalRowM).get()); verify(mockDataClient).checkAndMutateRowAsync(conditionalRowM); }
@Override public ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation) { return delegate.checkAndMutateRowAsync(conditionalRowMutation); }
DataClientVeneerApi implements DataClientWrapper { @Override public ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation) { return delegate.checkAndMutateRowAsync(conditionalRowMutation); } }
DataClientVeneerApi implements DataClientWrapper { @Override public ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation) { return delegate.checkAndMutateRowAsync(conditionalRowMutation); } DataClientVeneerApi(BigtableDataClient delegate); }
DataClientVeneerApi implements DataClientWrapper { @Override public ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation) { return delegate.checkAndMutateRowAsync(conditionalRowMutation); } DataClientVeneerApi(BigtableDataClient delegate); @Override BulkMutationWrapper createBulkMutation(String tableId); @Override BulkReadWrapper createBulkRead(String tableId); @Override ApiFuture<Void> mutateRowAsync(RowMutation rowMutation); @Override ApiFuture<Result> readModifyWriteRowAsync(ReadModifyWriteRow readModifyWriteRow); @Override ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation); @Override ApiFuture<List<KeyOffset>> sampleRowKeysAsync(String tableId); @Override ApiFuture<Result> readRowAsync(
      String tableId, ByteString rowKey, @Nullable Filters.Filter filter); @Override ResultScanner readRows(Query request); @Override ApiFuture<List<Result>> readRowsAsync(Query request); @Override void readRowsAsync(Query request, StreamObserver<Result> observer); @Override void close(); }
DataClientVeneerApi implements DataClientWrapper { @Override public ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation) { return delegate.checkAndMutateRowAsync(conditionalRowMutation); } DataClientVeneerApi(BigtableDataClient delegate); @Override BulkMutationWrapper createBulkMutation(String tableId); @Override BulkReadWrapper createBulkRead(String tableId); @Override ApiFuture<Void> mutateRowAsync(RowMutation rowMutation); @Override ApiFuture<Result> readModifyWriteRowAsync(ReadModifyWriteRow readModifyWriteRow); @Override ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation); @Override ApiFuture<List<KeyOffset>> sampleRowKeysAsync(String tableId); @Override ApiFuture<Result> readRowAsync(
      String tableId, ByteString rowKey, @Nullable Filters.Filter filter); @Override ResultScanner readRows(Query request); @Override ApiFuture<List<Result>> readRowsAsync(Query request); @Override void readRowsAsync(Query request, StreamObserver<Result> observer); @Override void close();  }