Package org.apache.hadoop.hbase.client
Interface AsyncTable.CheckAndMutateWithFilterBuilder
- All Known Implementing Classes:
RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl
- Enclosing interface:
- AsyncTable<C extends ScanResultConsumerBase>
Deprecated.
Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it
any more.
A helper class for sending checkAndMutate request with a filter.
-
Method Summary
Modifier and TypeMethodDescriptionthenDelete
(Delete delete) Deprecated.Specify a Delete to commit if the check succeeds.thenMutate
(RowMutations mutation) Deprecated.Specify a RowMutations to commit if the check succeeds.Deprecated.Specify a Put to commit if the check succeeds.Deprecated.Match a timerange.
-
Method Details
-
timeRange
Deprecated.Match a timerange.- Parameters:
timeRange
- time range to check.
-
thenPut
Deprecated.Specify a Put to commit if the check succeeds.- Parameters:
put
- data to put if check succeeds- Returns:
true
if the new put was executed,false
otherwise. The return value will be wrapped by aCompletableFuture
.
-
thenDelete
Deprecated.Specify a Delete to commit if the check succeeds.- Parameters:
delete
- data to delete if check succeeds- Returns:
true
if the new delete was executed,false
otherwise. The return value will be wrapped by aCompletableFuture
.
-
thenMutate
Deprecated.Specify a RowMutations to commit if the check succeeds.- Parameters:
mutation
- mutations to perform if check succeeds- Returns:
- true if the new mutation was executed, false otherwise. The return value will be
wrapped by a
CompletableFuture
.
-