@Deprecated public static interface Table.CheckAndMutateBuilder
Modifier and Type | Method and Description |
---|---|
default Table.CheckAndMutateBuilder |
ifEquals(byte[] value)
Deprecated.
Check for equality.
|
Table.CheckAndMutateBuilder |
ifMatches(CompareOperator compareOp,
byte[] value)
Deprecated.
Check for match.
|
Table.CheckAndMutateBuilder |
ifNotExists()
Deprecated.
Check for lack of column.
|
Table.CheckAndMutateBuilder |
qualifier(byte[] qualifier)
Deprecated.
Specify a column qualifer
|
boolean |
thenDelete(Delete delete)
Deprecated.
Specify a Delete to commit if the check succeeds.
|
boolean |
thenMutate(RowMutations mutation)
Deprecated.
Specify a RowMutations to commit if the check succeeds.
|
boolean |
thenPut(Put put)
Deprecated.
Specify a Put to commit if the check succeeds.
|
Table.CheckAndMutateBuilder |
timeRange(TimeRange timeRange)
Deprecated.
Specify a timerange
|
Table.CheckAndMutateBuilder qualifier(byte[] qualifier)
qualifier
- column qualifier to check.Table.CheckAndMutateBuilder timeRange(TimeRange timeRange)
timeRange
- timeRange to checkTable.CheckAndMutateBuilder ifNotExists()
default Table.CheckAndMutateBuilder ifEquals(byte[] value)
value
- the expected valueTable.CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value)
compareOp
- comparison operator to usevalue
- the expected valueboolean thenPut(Put put) throws IOException
put
- data to put if check succeedstrue
if the new put was executed, false
otherwise.IOException
boolean thenDelete(Delete delete) throws IOException
delete
- data to delete if check succeedstrue
if the new delete was executed, false
otherwise.IOException
boolean thenMutate(RowMutations mutation) throws IOException
mutation
- mutations to perform if check succeedsIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.