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
Fields -
Constructor Summary
Constructors -
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.CheckAndMutateWithFilterBuilderMatch a timerange.- Specified by:
timeRangein interfaceAsyncTable.CheckAndMutateWithFilterBuilder- Parameters:
timeRange- time range to check.
-
thenPut
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilderSpecify a Put to commit if the check succeeds.- Specified by:
thenPutin interfaceAsyncTable.CheckAndMutateWithFilterBuilder- Parameters:
put- data to put if check succeeds- Returns:
trueif the new put was executed,falseotherwise. The return value will be wrapped by aCompletableFuture.
-
thenDelete
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilderSpecify a Delete to commit if the check succeeds.- Specified by:
thenDeletein interfaceAsyncTable.CheckAndMutateWithFilterBuilder- Parameters:
delete- data to delete if check succeeds- Returns:
trueif the new delete was executed,falseotherwise. The return value will be wrapped by aCompletableFuture.
-
thenMutate
Description copied from interface:AsyncTable.CheckAndMutateWithFilterBuilderSpecify a RowMutations to commit if the check succeeds.- Specified by:
thenMutatein 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.
-