public final class UpdateExpressionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static 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.
|
public static String ifNotExists(String key, String initValue)
public static UpdateExpression operationExpression(Map<String,AttributeValue> itemMap, TableMetadata tableMetadata, List<String> nonRemoveAttributes)
Copyright © 2022. All rights reserved.