private class HTable.CheckAndMutateWithFilterBuilderImpl extends Object implements Table.CheckAndMutateWithFilterBuilder
| Modifier and Type | Field and Description |
|---|---|
private Filter |
filter |
private byte[] |
row |
private TimeRange |
timeRange |
| Constructor and Description |
|---|
CheckAndMutateWithFilterBuilderImpl(byte[] row,
Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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 |
thenPut(Put put)
Specify a Put to commit if the check succeeds.
|
Table.CheckAndMutateWithFilterBuilder |
timeRange(TimeRange timeRange)
Specify a timerange.
|
private final byte[] row
CheckAndMutateWithFilterBuilderImpl(byte[] row, Filter filter)
public Table.CheckAndMutateWithFilterBuilder timeRange(TimeRange timeRange)
Table.CheckAndMutateWithFilterBuildertimeRange in interface Table.CheckAndMutateWithFilterBuildertimeRange - timeRange to checkpublic boolean thenPut(Put put) throws IOException
Table.CheckAndMutateWithFilterBuilderthenPut in interface Table.CheckAndMutateWithFilterBuilderput - data to put if check succeedstrue if the new put was executed, false otherwise.IOExceptionpublic boolean thenDelete(Delete delete) throws IOException
Table.CheckAndMutateWithFilterBuilderthenDelete in interface Table.CheckAndMutateWithFilterBuilderdelete - data to delete if check succeedstrue if the new delete was executed, false otherwise.IOExceptionpublic boolean thenMutate(RowMutations mutation) throws IOException
Table.CheckAndMutateWithFilterBuilderthenMutate in interface Table.CheckAndMutateWithFilterBuildermutation - mutations to perform if check succeedsIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.