Package org.apache.hadoop.hbase.client
Interface Table.CheckAndMutateBuilder
- All Known Implementing Classes:
HTable.CheckAndMutateBuilderImpl
,ThriftTable.CheckAndMutateBuilderImpl
- Enclosing interface:
- Table
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 Table.CheckAndMutateBuilder
ifEquals
(byte[] value) Deprecated.Check for equality.ifMatches
(CompareOperator compareOp, byte[] value) Deprecated.Check for match.Deprecated.Check for lack of column.qualifier
(byte[] qualifier) Deprecated.Specify a column qualiferboolean
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
Deprecated.Specify a Put to commit if the check succeeds.Deprecated.Specify a timerange
-
Method Details
-
qualifier
Deprecated.Specify a column qualifer- Parameters:
qualifier
- column qualifier to check.
-
timeRange
Deprecated.Specify a timerange- Parameters:
timeRange
- timeRange to check
-
ifNotExists
Deprecated.Check for lack of column. -
ifEquals
Deprecated.Check for equality.- Parameters:
value
- the expected value
-
ifMatches
Deprecated.Check for match.- 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.- Throws:
IOException
-
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.- Throws:
IOException
-
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.
- Throws:
IOException
-