public final class TableTransactionAction extends Object
| Constructor and Description |
|---|
TableTransactionAction(TableTransactionActionType actionType,
TableEntity entity)
Initializes a new instance of the
TableTransactionAction. |
TableTransactionAction(TableTransactionActionType actionType,
TableEntity entity,
boolean ifUnchanged)
Initializes a new instance of the
TableTransactionAction. |
| Modifier and Type | Method and Description |
|---|---|
TableTransactionActionType |
getActionType()
Get the
operation type to be applied to the entity. |
TableEntity |
getEntity()
Get the
table entity to which the actionType will be applied. |
boolean |
getIfUnchanged()
Get the
ifUnchanged value of this action. |
public TableTransactionAction(TableTransactionActionType actionType, TableEntity entity)
TableTransactionAction.actionType - The operation type to be applied to the entity.entity - The table entity to which the actionType will be applied.public TableTransactionAction(TableTransactionActionType actionType, TableEntity entity, boolean ifUnchanged)
TableTransactionAction.actionType - The operation type to be applied to the entity.entity - The table entity to which the actionType will be applied.ifUnchanged - When true, the ETag of the provided entity must match the ETag of the entity in the
Table service. If the values do not match, the action will not be performed and an exception will be thrown.
This value is only applied for update and delete actions.public TableTransactionActionType getActionType()
operation type to be applied to the entity.operation type.public TableEntity getEntity()
table entity to which the actionType will be applied.table entity to which the actionType will be applied.public boolean getIfUnchanged()
ifUnchanged value of this action. When true, the ETag of the provided entity must match
the ETag of the entity in the Table service. If the values do not match, the action will not be performed
and an exception will be thrown. This value is only applied for update and delete actions.ifUnchanged value of this action.Copyright © 2021 Microsoft Corporation. All rights reserved.