Package com.azure.data.tables.models
Enum TableTransactionActionType
- java.lang.Object
-
- java.lang.Enum<TableTransactionActionType>
-
- com.azure.data.tables.models.TableTransactionActionType
-
- All Implemented Interfaces:
Serializable,Comparable<TableTransactionActionType>
public enum TableTransactionActionType extends Enum<TableTransactionActionType>
The type of action to be executed on aTableEntityin a transactional operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEAdd the entity to the table.DELETEDelete the entity.UPDATE_MERGEUpdate the entity inTableEntityUpdateMode.MERGEmode.UPDATE_REPLACEUpdate the entity inTableEntityUpdateMode.REPLACEmode.UPSERT_MERGEUpsert the entity inTableEntityUpdateMode.MERGEmode.UPSERT_REPLACEUpsert the entity inTableEntityUpdateMode.REPLACEmode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableTransactionActionTypevalueOf(String name)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 Detail
-
CREATE
public static final TableTransactionActionType CREATE
Add the entity to the table. This is equivalent toTableClient.createEntity()orTableAsyncClient.createEntity().
-
UPSERT_MERGE
public static final TableTransactionActionType UPSERT_MERGE
Upsert the entity inTableEntityUpdateMode.MERGEmode. This is equivalent toTableClient.upsertEntity()orTableAsyncClient.upsertEntity().
-
UPSERT_REPLACE
public static final TableTransactionActionType UPSERT_REPLACE
Upsert the entity inTableEntityUpdateMode.REPLACEmode. This is equivalent toTableClient.upsertEntity()orTableAsyncClient.upsertEntity().
-
UPDATE_MERGE
public static final TableTransactionActionType UPDATE_MERGE
Update the entity inTableEntityUpdateMode.MERGEmode. This is equivalent toTableClient.updateEntity()orTableAsyncClient.updateEntity().
-
UPDATE_REPLACE
public static final TableTransactionActionType UPDATE_REPLACE
Update the entity inTableEntityUpdateMode.REPLACEmode. This is equivalent toTableClient.updateEntity()orTableAsyncClient.updateEntity().
-
DELETE
public static final TableTransactionActionType DELETE
Delete the entity. This is equivalent toTableClient.deleteEntity()orTableAsyncClient.deleteEntity().
-
-
Method Detail
-
values
public static TableTransactionActionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableTransactionActionType c : TableTransactionActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableTransactionActionType valueOf(String name)
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
-
-