@Deprecated public static interface AsyncTable.CheckAndMutateBuilder
Modifier and Type | Method and Description |
---|---|
default AsyncTable.CheckAndMutateBuilder |
ifEquals(byte[] value)
Deprecated.
Check for equality.
|
AsyncTable.CheckAndMutateBuilder |
ifMatches(CompareOperator compareOp,
byte[] value)
Deprecated.
Compare a value
|
AsyncTable.CheckAndMutateBuilder |
ifNotExists()
Deprecated.
Check for lack of column.
|
AsyncTable.CheckAndMutateBuilder |
qualifier(byte[] qualifier)
Deprecated.
Match a qualifier.
|
CompletableFuture<Boolean> |
thenDelete(Delete delete)
Deprecated.
Specify a Delete to commit if the check succeeds.
|
CompletableFuture<Boolean> |
thenMutate(RowMutations mutation)
Deprecated.
Specify a RowMutations to commit if the check succeeds.
|
CompletableFuture<Boolean> |
thenPut(Put put)
Deprecated.
Specify a Put to commit if the check succeeds.
|
AsyncTable.CheckAndMutateBuilder |
timeRange(TimeRange timeRange)
Deprecated.
Match a timerange.
|
AsyncTable.CheckAndMutateBuilder qualifier(byte[] qualifier)
qualifier
- column qualifier to check.AsyncTable.CheckAndMutateBuilder timeRange(TimeRange timeRange)
timeRange
- time range to check.AsyncTable.CheckAndMutateBuilder ifNotExists()
default AsyncTable.CheckAndMutateBuilder ifEquals(byte[] value)
value
- the expected valueAsyncTable.CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value)
compareOp
- comparison operator to usevalue
- the expected valueCompletableFuture<Boolean> thenPut(Put put)
put
- data to put if check succeedstrue
if the new put was executed, false
otherwise. The return value
will be wrapped by a CompletableFuture
.CompletableFuture<Boolean> thenDelete(Delete delete)
delete
- data to delete if check succeedstrue
if the new delete was executed, false
otherwise. The return
value will be wrapped by a CompletableFuture
.CompletableFuture<Boolean> thenMutate(RowMutations mutation)
mutation
- mutations to perform if check succeedsCompletableFuture
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.