Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBSaveExpression.expectedAttributes
Optional expected attributes
|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBDeleteExpression.expectedAttributes
Optional expected attributes
|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.SaveObjectHandler.internalExpectedValueAssertions
Any expected value conditions specified by the implementation of
DynamoDBMapper, e.g.
|
protected java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.SaveObjectHandler.userProvidedExpectedValueConditions
Additional expected value conditions specified by the user.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBSaveExpression.getExpected()
Gets the map of attribute names to expected attribute values to check on save.
|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBDeleteExpression.getExpected()
Gets the map of attribute names to expected attribute values to check on delete.
|
protected java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.SaveObjectHandler.mergeExpectedAttributeValueConditions()
Merge and return all the expected value conditions (either
user-specified or imposed by the internal implementation of
DynamoDBMapper) for this save operation.
|
private static java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.mergeExpectedAttributeValueConditions(java.util.Map<java.lang.String,ExpectedAttributeValue> internalAssertions,
java.util.Map<java.lang.String,ExpectedAttributeValue> userProvidedConditions,
java.lang.String userProvidedConditionOperator)
Returns a new map object that merges the two sets of expected value
conditions (user-specified or imposed by the internal implementation of
DynamoDBMapper).
|
Modifier and Type | Method and Description |
---|---|
DynamoDBSaveExpression |
DynamoDBSaveExpression.withExpectedEntry(java.lang.String attributeName,
ExpectedAttributeValue expected)
Adds one entry to the expected conditions and returns a pointer to this
object for method-chaining.
|
DynamoDBDeleteExpression |
DynamoDBDeleteExpression.withExpectedEntry(java.lang.String attributeName,
ExpectedAttributeValue expected)
Adds one entry to the expected conditions and returns a pointer to this
object for method-chaining.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.mergeExpectedAttributeValueConditions(java.util.Map<java.lang.String,ExpectedAttributeValue> internalAssertions,
java.util.Map<java.lang.String,ExpectedAttributeValue> userProvidedConditions,
java.lang.String userProvidedConditionOperator)
Returns a new map object that merges the two sets of expected value
conditions (user-specified or imposed by the internal implementation of
DynamoDBMapper).
|
private static java.util.Map<java.lang.String,ExpectedAttributeValue> |
DynamoDBMapper.mergeExpectedAttributeValueConditions(java.util.Map<java.lang.String,ExpectedAttributeValue> internalAssertions,
java.util.Map<java.lang.String,ExpectedAttributeValue> userProvidedConditions,
java.lang.String userProvidedConditionOperator)
Returns a new map object that merges the two sets of expected value
conditions (user-specified or imposed by the internal implementation of
DynamoDBMapper).
|
void |
DynamoDBSaveExpression.setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected attribute values given.
|
void |
DynamoDBDeleteExpression.setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected attribute values given.
|
DynamoDBSaveExpression |
DynamoDBSaveExpression.withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected
attribute values given and returns a pointer to this object for
method-chaining.
|
DynamoDBDeleteExpression |
DynamoDBDeleteExpression.withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected
attribute values given and returns a pointer to this object for
method-chaining.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,ExpectedAttributeValue> |
InternalUtils.toExpectedAttributeValueMap(java.util.Collection<Expected> expectedSet)
Returns the low level representation of a collection of
Expected . |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
UpdateItemRequest.expected
|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
PutItemRequest.expected
|
private java.util.Map<java.lang.String,ExpectedAttributeValue> |
DeleteItemRequest.expected
|
Modifier and Type | Method and Description |
---|---|
ExpectedAttributeValue |
ExpectedAttributeValue.clone() |
ExpectedAttributeValue |
ExpectedAttributeValue.withAttributeValueList(AttributeValue... attributeValueList)
One or more values to evaluate against the supplied attribute.
|
ExpectedAttributeValue |
ExpectedAttributeValue.withAttributeValueList(java.util.Collection<AttributeValue> attributeValueList)
One or more values to evaluate against the supplied attribute.
|
ExpectedAttributeValue |
ExpectedAttributeValue.withComparisonOperator(ComparisonOperator comparisonOperator)
A comparator for evaluating attributes in the AttributeValueList.
|
ExpectedAttributeValue |
ExpectedAttributeValue.withComparisonOperator(java.lang.String comparisonOperator)
A comparator for evaluating attributes in the AttributeValueList.
|
ExpectedAttributeValue |
ExpectedAttributeValue.withExists(java.lang.Boolean exists)
Causes DynamoDB to evaluate the value before attempting a conditional
operation:
|
ExpectedAttributeValue |
ExpectedAttributeValue.withValue(AttributeValue value) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
UpdateItemRequest.getExpected()
|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
PutItemRequest.getExpected()
|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
DeleteItemRequest.getExpected()
|
Modifier and Type | Method and Description |
---|---|
UpdateItemRequest |
UpdateItemRequest.addExpectedEntry(java.lang.String key,
ExpectedAttributeValue value) |
PutItemRequest |
PutItemRequest.addExpectedEntry(java.lang.String key,
ExpectedAttributeValue value) |
DeleteItemRequest |
DeleteItemRequest.addExpectedEntry(java.lang.String key,
ExpectedAttributeValue value) |
Modifier and Type | Method and Description |
---|---|
void |
UpdateItemRequest.setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
void |
PutItemRequest.setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
void |
DeleteItemRequest.setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
UpdateItemRequest |
UpdateItemRequest.withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
PutItemRequest |
PutItemRequest.withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
DeleteItemRequest |
DeleteItemRequest.withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expected)
|
Modifier and Type | Method and Description |
---|---|
ExpectedAttributeValue |
ExpectedAttributeValueJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ExpectedAttributeValueJsonMarshaller.marshall(ExpectedAttributeValue expectedAttributeValue,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|