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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanthenDelete(Delete delete) Specify a Delete to commit if the check succeeds.booleanthenMutate(RowMutations mutation) Specify a RowMutations to commit if the check succeeds.booleanSpecify 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.CheckAndMutateWithFilterBuilderSpecify a timerange.- Specified by:
timeRangein interfaceTable.CheckAndMutateWithFilterBuilder- Parameters:
timeRange- timeRange to check
-
thenPut
Description copied from interface:Table.CheckAndMutateWithFilterBuilderSpecify a Put to commit if the check succeeds.- Specified by:
thenPutin interfaceTable.CheckAndMutateWithFilterBuilder- Parameters:
put- data to put if check succeeds- Returns:
trueif the new put was executed,falseotherwise.- Throws:
IOException
-
thenDelete
Description copied from interface:Table.CheckAndMutateWithFilterBuilderSpecify a Delete to commit if the check succeeds.- Specified by:
thenDeletein interfaceTable.CheckAndMutateWithFilterBuilder- Parameters:
delete- data to delete if check succeeds- Returns:
trueif the new delete was executed,falseotherwise.- Throws:
IOException
-
thenMutate
Description copied from interface:Table.CheckAndMutateWithFilterBuilderSpecify a RowMutations to commit if the check succeeds.- Specified by:
thenMutatein interfaceTable.CheckAndMutateWithFilterBuilder- Parameters:
mutation- mutations to perform if check succeeds- Returns:
- true if the new mutation was executed, false otherwise.
- Throws:
IOException
-