Package | Description |
---|---|
com.amazonaws.services.dynamodbv2.datamodeling | |
com.amazonaws.services.dynamodbv2.model |
Classes modeling the various types represented by AmazonDynamoDBv2.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ExpectedAttributeValue> |
DynamoDBSaveExpression.getExpected()
Gets the map of attribute names to expected attribute values to check on save.
|
Map<String,ExpectedAttributeValue> |
DynamoDBDeleteExpression.getExpected()
Gets the map of attribute names to expected attribute values to check on delete.
|
protected Map<String,ExpectedAttributeValue> |
DynamoDBMapper.SaveObjectHandler.getExpectedAttributeValues()
Get the map of ExpectedAttributeValue on each modeled attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamoDBSaveExpression.setExpected(Map<String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected attribute values given.
|
void |
DynamoDBDeleteExpression.setExpected(Map<String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected attribute values given.
|
Constructor and Description |
---|
DynamoDBMapper.SaveObjectHandler(Class<?> clazz,
Object object,
String tableName,
DynamoDBMapperConfig.SaveBehavior saveBehavior,
Map<String,ExpectedAttributeValue> userProvidedExpectedValues)
Constructs a handler for saving the specified model object.
|
Modifier and Type | Method and Description |
---|---|
ExpectedAttributeValue |
ExpectedAttributeValue.withExists(Boolean exists)
Causes DynamoDB to evaluate the value before attempting a conditional
operation:
|
ExpectedAttributeValue |
ExpectedAttributeValue.withValue(AttributeValue value)
Represents the data for an attribute.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ExpectedAttributeValue> |
DeleteItemRequest.getExpected()
A map of attribute/condition pairs.
|
Map<String,ExpectedAttributeValue> |
UpdateItemRequest.getExpected()
A map of attribute/condition pairs.
|
Map<String,ExpectedAttributeValue> |
PutItemRequest.getExpected()
A map of attribute/condition pairs.
|
Modifier and Type | Method and Description |
---|---|
DeleteItemRequest |
DeleteItemRequest.addExpectedEntry(String key,
ExpectedAttributeValue value)
A map of attribute/condition pairs.
|
UpdateItemRequest |
UpdateItemRequest.addExpectedEntry(String key,
ExpectedAttributeValue value)
A map of attribute/condition pairs.
|
PutItemRequest |
PutItemRequest.addExpectedEntry(String key,
ExpectedAttributeValue value)
A map of attribute/condition pairs.
|
Modifier and Type | Method and Description |
---|---|
void |
DeleteItemRequest.setExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
void |
UpdateItemRequest.setExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
void |
PutItemRequest.setExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
DeleteItemRequest |
DeleteItemRequest.withExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
UpdateItemRequest |
UpdateItemRequest.withExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
PutItemRequest |
PutItemRequest.withExpected(Map<String,ExpectedAttributeValue> expected)
A map of attribute/condition pairs.
|
Copyright © 2014. All rights reserved.