Package org.apache.hadoop.hbase.client
Class RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl
java.lang.Object
org.apache.hadoop.hbase.client.RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl
- All Implemented Interfaces:
AsyncTable.CheckAndMutateWithFilterBuilder
- Enclosing class:
- RawAsyncTableImpl
private final class RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl
extends Object
implements AsyncTable.CheckAndMutateWithFilterBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionthenDelete
(Delete delete) Specify a Delete to commit if the check succeeds.thenMutate
(RowMutations mutations) Specify a RowMutations to commit if the check succeeds.Specify a Put to commit if the check succeeds.Match a timerange.
-
Field Details
-
row
-
filter
-
timeRange
-
-
Constructor Details
-
CheckAndMutateWithFilterBuilderImpl
-
-
Method Details
-
timeRange
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilder
Match a timerange.- Specified by:
timeRange
in interfaceAsyncTable.CheckAndMutateWithFilterBuilder
- Parameters:
timeRange
- time range to check.
-
thenPut
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilder
Specify a Put to commit if the check succeeds.- Specified by:
thenPut
in interfaceAsyncTable.CheckAndMutateWithFilterBuilder
- 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
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilder
Specify a Delete to commit if the check succeeds.- Specified by:
thenDelete
in interfaceAsyncTable.CheckAndMutateWithFilterBuilder
- 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
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilder
Specify a RowMutations to commit if the check succeeds.- Specified by:
thenMutate
in interfaceAsyncTable.CheckAndMutateWithFilterBuilder
- Parameters:
mutations
- 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
.
-