/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#mutateRowAsync(MutateRowRequest)} on the * {@link com.google.bigtable.v2.MutateRowRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.MutateRowRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<MutateRowResponse> mutateRowAsync(MutateRowRequest request) throws InterruptedException { return call(MUTATE_ROW_ASYNC, request); }
/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#checkAndMutateRowAsync(CheckAndMutateRowRequest)} on the * {@link com.google.bigtable.v2.CheckAndMutateRowRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.CheckAndMutateRowRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<CheckAndMutateRowResponse> checkAndMutateRowAsync( CheckAndMutateRowRequest request) throws InterruptedException { return call(CHECK_AND_MUTATE_ASYNC, request); }
/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#mutateRowsAsync(MutateRowsRequest)} on the * {@link com.google.bigtable.v2.MutateRowsRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.MutateRowRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<List<MutateRowsResponse>> mutateRowsAsync(MutateRowsRequest request) throws InterruptedException { return call(MUTATE_ROWS_ASYNC, request); }
/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#readModifyWriteRow(ReadModifyWriteRowRequest)} on the * {@link com.google.bigtable.v2.ReadModifyWriteRowRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.ReadModifyWriteRowRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<ReadModifyWriteRowResponse> readModifyWriteRowAsync(ReadModifyWriteRowRequest request) throws InterruptedException { return call(READ_MODIFY_WRITE_ASYNC, request); }
/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#readRowsAsync(ReadRowsRequest)} on the * {@link com.google.bigtable.v2.ReadRowsRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.ReadRowsRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<List<Row>> readRowsAsync(ReadRowsRequest request) throws InterruptedException { return call(READ_ROWS_ASYNC, request); }
/** * Performs a {@link com.google.cloud.bigtable.grpc.BigtableDataClient#readRowsAsync(ReadRowsRequest)} on the * {@link com.google.bigtable.v2.ReadRowsRequest}. This method may block if * {@link OperationAccountant#registerOperation(ListenableFuture)} blocks. * * @param request The {@link com.google.bigtable.v2.ReadRowsRequest} to send. * @return a {@link com.google.common.util.concurrent.ListenableFuture} which can be listened to for completion events. * @throws java.lang.InterruptedException if any. */ public ListenableFuture<List<FlatRow>> readFlatRowsAsync(ReadRowsRequest request) throws InterruptedException { return call(READ_FLAT_ROWS_ASYNC, request); }