public class VersionAttributeConditionExpressionGenerator extends Object
Constructor and Description |
---|
VersionAttributeConditionExpressionGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
appendVersionAttributeToConditionExpression(DynamoDBMapperFieldModel<Object,Object> field,
Object fieldValue)
Generates condition expression for a given version attribute and appends this generated condition expression to
any previously generated version attribute condition expressions.
|
DynamoDBTransactionWriteExpression |
getVersionAttributeConditionExpression()
Call this method *after* you've completed calling appendVersionAttributeToConditionExpression() for each of the
version attributes in a given item.
|
public VersionAttributeConditionExpressionGenerator()
public void appendVersionAttributeToConditionExpression(DynamoDBMapperFieldModel<Object,Object> field, Object fieldValue)
public DynamoDBTransactionWriteExpression getVersionAttributeConditionExpression()