Interface MultiCheckAndSetRequest
-
@Immutable public interface MultiCheckAndSetRequest
A request to be supplied to KeyValueService.mulitCheckAndSet.tableRef()
theTableReference
on which updates are to be performed.rowName()
theCell
row to update.expected()
expected current values of cells.updates()
the desired values for cells.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static com.palantir.atlasdb.keyvalue.api.ImmutableMultiCheckAndSetRequest.Builder
builder()
default void
check()
Map<Cell,byte[]>
expected()
static MultiCheckAndSetRequest
multipleCells(TableReference table, byte[] rowName, Map<Cell,byte[]> expected, Map<Cell,byte[]> updates)
static MultiCheckAndSetRequest
newCells(TableReference table, byte[] rowName, Map<Cell,byte[]> updates)
byte[]
rowName()
TableReference
tableRef()
Map<Cell,byte[]>
updates()
-
-
-
Method Detail
-
tableRef
TableReference tableRef()
-
rowName
byte[] rowName()
-
check
@Check default void check()
-
newCells
static MultiCheckAndSetRequest newCells(TableReference table, byte[] rowName, Map<Cell,byte[]> updates)
-
multipleCells
static MultiCheckAndSetRequest multipleCells(TableReference table, byte[] rowName, Map<Cell,byte[]> expected, Map<Cell,byte[]> updates)
-
builder
static com.palantir.atlasdb.keyvalue.api.ImmutableMultiCheckAndSetRequest.Builder builder()
-
-