Uses of Class
com.amazonaws.services.dynamodbv2.document.PrimaryKey
-
Packages that use PrimaryKey Package Description com.amazonaws.services.dynamodbv2.document com.amazonaws.services.dynamodbv2.document.api com.amazonaws.services.dynamodbv2.document.spec -
-
Uses of PrimaryKey in com.amazonaws.services.dynamodbv2.document
Methods in com.amazonaws.services.dynamodbv2.document that return PrimaryKey Modifier and Type Method Description PrimaryKey
PrimaryKey. addComponent(String keyAttributeName, Object keyAttributeValue)
Add a key component to this primary key.PrimaryKey
PrimaryKey. addComponents(KeyAttribute... components)
Add one or multiple key components to this primary key.Methods in com.amazonaws.services.dynamodbv2.document that return types with arguments of type PrimaryKey Modifier and Type Method Description List<PrimaryKey>
TableKeysAndAttributes. getPrimaryKeys()
Return the list of primary keys (of the current table) to be included in a batch get-item operation.List<PrimaryKey>
TableWriteItems. getPrimaryKeysToDelete()
Return the list of primary keys (of the current table) to be deleted in a batch write operation.Methods in com.amazonaws.services.dynamodbv2.document with parameters of type PrimaryKey Modifier and Type Method Description TableKeysAndAttributes
TableKeysAndAttributes. addPrimaryKey(PrimaryKey primaryKey)
Adds a primary key to be included in the batch get-item operation.TableWriteItems
TableWriteItems. addPrimaryKeyToDelete(PrimaryKey primaryKey)
Adds a primary key to be deleted in a batch write-item operation.DeleteItemOutcome
Table. deleteItem(PrimaryKey primaryKey)
DeleteItemOutcome
Table. deleteItem(PrimaryKey primaryKey, Expected... expected)
DeleteItemOutcome
Table. deleteItem(PrimaryKey primaryKey, DeleteItemExpressionSpec conditionExpressions)
DeleteItemOutcome
Table. deleteItem(PrimaryKey primaryKey, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
Item
Table. getItem(PrimaryKey primaryKey)
Item
Table. getItem(PrimaryKey primaryKey, String projectionExpression, Map<String,String> nameMap)
GetItemOutcome
Table. getItemOutcome(PrimaryKey primaryKey)
GetItemOutcome
Table. getItemOutcome(PrimaryKey primaryKey, String projectionExpression, Map<String,String> nameMap)
UpdateItemOutcome
Table. updateItem(PrimaryKey primaryKey, AttributeUpdate... attributeUpdates)
UpdateItemOutcome
Table. updateItem(PrimaryKey primaryKey, String updateExpression, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
UpdateItemOutcome
Table. updateItem(PrimaryKey primaryKey, String updateExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
UpdateItemOutcome
Table. updateItem(PrimaryKey primaryKey, Collection<Expected> expected, AttributeUpdate... attributeUpdates)
Item
Item. withPrimaryKey(PrimaryKey primaryKey)
Convenient methods - sets the attributes of this item from the given key attributes.TableKeysAndAttributes
TableKeysAndAttributes. withPrimaryKeys(PrimaryKey... primaryKeys)
Used to specify multiple primary keys.TableWriteItems
TableWriteItems. withPrimaryKeysToDelete(PrimaryKey... primaryKeysToDelete)
Used to specify multiple primary keys to be deleted from the current table. -
Uses of PrimaryKey in com.amazonaws.services.dynamodbv2.document.api
Methods in com.amazonaws.services.dynamodbv2.document.api with parameters of type PrimaryKey Modifier and Type Method Description DeleteItemOutcome
DeleteItemApi. deleteItem(PrimaryKey primaryKey)
Deletes an item by primary key.DeleteItemOutcome
DeleteItemApi. deleteItem(PrimaryKey primaryKey, Expected... expected)
Conditional delete with the specified primary key and expected conditions.DeleteItemOutcome
DeleteItemApi. deleteItem(PrimaryKey primaryKey, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
Conditional delete with the specified primary key and condition expression.Item
GetItemApi. getItem(PrimaryKey primaryKey)
Retrieves an item by primary key; or null if the item doesn't exist.Item
GetItemApi. getItem(PrimaryKey primaryKey, String projectionExpression, Map<String,String> nameMap)
Retrieves an item using projection expression.GetItemOutcome
GetItemApi. getItemOutcome(PrimaryKey primaryKey)
Retrieves an item and the associated information by primary key.GetItemOutcome
GetItemApi. getItemOutcome(PrimaryKey primaryKey, String projectionExpression, Map<String,String> nameMap)
Retrieves an item and the associated information using projection expression.UpdateItemOutcome
UpdateItemApi. updateItem(PrimaryKey primaryKey, AttributeUpdate... attributeUpdates)
Updates an item with the attributes specified.UpdateItemOutcome
UpdateItemApi. updateItem(PrimaryKey primaryKey, String updateExpression, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
Updates an item with the specified primary key using the given update expression provided the condition expression evaluates to true.UpdateItemOutcome
UpdateItemApi. updateItem(PrimaryKey primaryKey, String updateExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
Performs an update on an item in the table using the given update expression string.UpdateItemOutcome
UpdateItemApi. updateItem(PrimaryKey primaryKey, Collection<Expected> expected, AttributeUpdate... attributeUpdates)
Updates an item with the attributes specified. -
Uses of PrimaryKey in com.amazonaws.services.dynamodbv2.document.spec
Methods in com.amazonaws.services.dynamodbv2.document.spec with parameters of type PrimaryKey Modifier and Type Method Description QuerySpec
QuerySpec. withExclusiveStartKey(PrimaryKey exclusiveStartKey)
ScanSpec
ScanSpec. withExclusiveStartKey(PrimaryKey exclusiveStartKey)
AbstractSpecWithPrimaryKey<T>
AbstractSpecWithPrimaryKey. withPrimaryKey(PrimaryKey primaryKey)
Sets the primary key.DeleteItemSpec
DeleteItemSpec. withPrimaryKey(PrimaryKey primaryKey)
GetItemSpec
GetItemSpec. withPrimaryKey(PrimaryKey primaryKey)
UpdateItemSpec
UpdateItemSpec. withPrimaryKey(PrimaryKey primaryKey)
-