Constructor
new Operation()
Defines an update operation to be passed to Store.executeOperations().
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tableName |
String | The table name on which this operation is executed on. | |
type |
OperationType | Determines which update operation to be executed. | |
row |
Row | For put operations it represents the row to be stored. For delete operations it represents the key of the row to be deleted. | |
returnChoice |
ReturnChoice | Specifies whether to return the row value, version, both or neither. | |
abortIfUnsuccessful |
bool | If true, this operation should cause the execute transaction to abort when the operation fails, where failure is the condition when the delete or put method returns null. | |
matchVersion |
Version |
<optional> |
The version to be matched for: PUT_IF_VERSION or DELETE_IF_VERSION. |