Package org.apache.hadoop.hbase.client
Interface AsyncTable.CheckAndMutateBuilder
- All Known Implementing Classes:
RawAsyncTableImpl.CheckAndMutateBuilderImpl
- Enclosing interface:
- AsyncTable<C extends ScanResultConsumerBase>
Deprecated.
Since 2.4.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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault AsyncTable.CheckAndMutateBuilder
ifEquals
(byte[] value) Deprecated.Check for equality.ifMatches
(CompareOperator compareOp, byte[] value) Deprecated.Compare a valueDeprecated.Check for lack of column.qualifier
(byte[] qualifier) Deprecated.Match a qualifier.thenDelete
(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
-
qualifier
Deprecated.Match a qualifier.- Parameters:
qualifier
- column qualifier to check.
-
timeRange
Deprecated.Match a timerange.- Parameters:
timeRange
- time range to check.
-
ifNotExists
Deprecated.Check for lack of column. -
ifEquals
Deprecated.Check for equality.- Parameters:
value
- the expected value
-
ifMatches
Deprecated.Compare a value- Parameters:
compareOp
- comparison operator to usevalue
- the expected value
-
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
.
-