public class Expression extends Object
Expressions are used for conditional deletes and filtering for query and scan operations.
Constructor and Description |
---|
Expression() |
protected boolean isSet()
public void addExpressionAttributeNames(String key, String value)
key
- the attribute name.value
- the atttribute value.public Expression withExpressionAttibuteNames(String key, String value)
key
- the attribute name.value
- the atttribute value.Expression
.public void addExpressionAttributeValues(String key, DynamoDBEntry value)
key
- the expression attribute name.value
- the expression attribute value.public Expression withExpressionAttibuteValues(String key, DynamoDBEntry value)
key
- the expression attribute name.value
- the expression attribute value.Expression
.protected void applyExpression(ScanRequest request, Table table)
protected void applyExpression(DeleteItemRequest request, Table table)
protected void applyExpression(PutItemRequest request, Table table)
protected void applyExpression(UpdateItemRequest request, Table table)
protected static void applyExpression(QueryRequest request, Table table, Expression keyExpression, Expression filterExpression)
protected static Map<String,AttributeValue> convertToAttributeValues(Map<String,DynamoDBEntry> valueMap, Table table)
public String getExpressionStatement()
public void setExpressionStatement(String expressionStatement)
Copyright © 2019. All rights reserved.