Class UpdateExpressionUtils
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.update.UpdateExpressionUtils
-
public final class UpdateExpressionUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringifNotExists(String key, String initValue)A function to specify an initial value if the attribute represented by 'key' does not exist.static UpdateExpressionoperationExpression(Map<String,AttributeValue> itemMap, TableMetadata tableMetadata, List<String> nonRemoveAttributes)Generates an UpdateExpression representing a POJO, with only SET and REMOVE actions.
-
-
-
Method Detail
-
ifNotExists
public static String ifNotExists(String key, String initValue)
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.
-
-