Class UpdateExpressionUtils
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.update.UpdateExpressionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
ifNotExists
(String key, String initValue) A function to specify an initial value if the attribute represented by 'key' does not exist.static UpdateExpression
operationExpression
(Map<String, AttributeValue> itemMap, TableMetadata tableMetadata, List<String> nonRemoveAttributes) Generates an UpdateExpression representing a POJO, with only SET and REMOVE actions.
-
Method Details
-
ifNotExists
A function to specify an initial value if the attribute represented by 'key' does not exist. -
operationExpression
public static UpdateExpression operationExpression(Map<String, AttributeValue> itemMap, TableMetadata tableMetadata, List<String> nonRemoveAttributes) Generates an UpdateExpression representing a POJO, with only SET and REMOVE actions.
-