Package com.azure.data.tables.models
Enum TableTransactionActionType
- All Implemented Interfaces:
Serializable
,Comparable<TableTransactionActionType>
,java.lang.constant.Constable
The type of action to be executed on a
TableEntity
in a transactional operation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd the entity to the table.Delete the entity.Update the entity inTableEntityUpdateMode.MERGE
mode.Update the entity inTableEntityUpdateMode.REPLACE
mode.Upsert the entity inTableEntityUpdateMode.MERGE
mode.Upsert the entity inTableEntityUpdateMode.REPLACE
mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableTransactionActionType
Returns the enum constant of this type with the specified name.static TableTransactionActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE
Add the entity to the table. This is equivalent toTableClient.createEntity()
orTableAsyncClient.createEntity()
. -
UPSERT_MERGE
Upsert the entity inTableEntityUpdateMode.MERGE
mode. This is equivalent toTableClient.upsertEntity()
orTableAsyncClient.upsertEntity()
. -
UPSERT_REPLACE
Upsert the entity inTableEntityUpdateMode.REPLACE
mode. This is equivalent toTableClient.upsertEntity()
orTableAsyncClient.upsertEntity()
. -
UPDATE_MERGE
Update the entity inTableEntityUpdateMode.MERGE
mode. This is equivalent toTableClient.updateEntity()
orTableAsyncClient.updateEntity()
. -
UPDATE_REPLACE
Update the entity inTableEntityUpdateMode.REPLACE
mode. This is equivalent toTableClient.updateEntity()
orTableAsyncClient.updateEntity()
. -
DELETE
Delete the entity. This is equivalent toTableClient.deleteEntity()
orTableAsyncClient.deleteEntity()
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-