Package org.apache.hadoop.hbase.client
Class HTable.CheckAndMutateWithFilterBuilderImpl
java.lang.Object
org.apache.hadoop.hbase.client.HTable.CheckAndMutateWithFilterBuilderImpl
- All Implemented Interfaces:
Table.CheckAndMutateWithFilterBuilder
- Enclosing class:
- HTable
private class HTable.CheckAndMutateWithFilterBuilderImpl
extends Object
implements Table.CheckAndMutateWithFilterBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
thenDelete
(Delete delete) Specify a Delete to commit if the check succeeds.boolean
thenMutate
(RowMutations mutation) Specify a RowMutations to commit if the check succeeds.boolean
Specify a Put to commit if the check succeeds.Specify a timerange.
-
Field Details
-
row
-
filter
-
timeRange
-
-
Constructor Details
-
CheckAndMutateWithFilterBuilderImpl
CheckAndMutateWithFilterBuilderImpl(byte[] row, Filter filter)
-
-
Method Details
-
timeRange
Description copied from interface:Table.CheckAndMutateWithFilterBuilder
Specify a timerange.- Specified by:
timeRange
in interfaceTable.CheckAndMutateWithFilterBuilder
- Parameters:
timeRange
- timeRange to check
-
thenPut
Description copied from interface:Table.CheckAndMutateWithFilterBuilder
Specify a Put to commit if the check succeeds.- Specified by:
thenPut
in interfaceTable.CheckAndMutateWithFilterBuilder
- Parameters:
put
- data to put if check succeeds- Returns:
true
if the new put was executed,false
otherwise.- Throws:
IOException
-
thenDelete
Description copied from interface:Table.CheckAndMutateWithFilterBuilder
Specify a Delete to commit if the check succeeds.- Specified by:
thenDelete
in interfaceTable.CheckAndMutateWithFilterBuilder
- Parameters:
delete
- data to delete if check succeeds- Returns:
true
if the new delete was executed,false
otherwise.- Throws:
IOException
-
thenMutate
Description copied from interface:Table.CheckAndMutateWithFilterBuilder
Specify a RowMutations to commit if the check succeeds.- Specified by:
thenMutate
in interfaceTable.CheckAndMutateWithFilterBuilder
- Parameters:
mutation
- mutations to perform if check succeeds- Returns:
- true if the new mutation was executed, false otherwise.
- Throws:
IOException
-