Uses of Class
com.amazonaws.services.dynamodbv2.document.PrimaryKey
Packages that use PrimaryKey
Package
Description
-
Uses of PrimaryKey in com.amazonaws.services.dynamodbv2.document
Methods in com.amazonaws.services.dynamodbv2.document that return PrimaryKeyModifier and TypeMethodDescriptionPrimaryKey.addComponent(String keyAttributeName, Object keyAttributeValue) Add a key component to this primary key.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 PrimaryKeyModifier and TypeMethodDescriptionTableKeysAndAttributes.getPrimaryKeys()Return the list of primary keys (of the current table) to be included in a batch get-item operation.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 PrimaryKeyModifier and TypeMethodDescriptionTableKeysAndAttributes.addPrimaryKey(PrimaryKey primaryKey) Adds a primary key to be included in the batch get-item operation.TableWriteItems.addPrimaryKeyToDelete(PrimaryKey primaryKey) Adds a primary key to be deleted in a batch write-item operation.Table.deleteItem(PrimaryKey primaryKey) Table.deleteItem(PrimaryKey primaryKey, Expected... expected) Table.deleteItem(PrimaryKey primaryKey, DeleteItemExpressionSpec conditionExpressions) Table.deleteItem(PrimaryKey primaryKey, String conditionExpression, Map<String, String> nameMap, Map<String, Object> valueMap) Table.getItem(PrimaryKey primaryKey) Table.getItemOutcome(PrimaryKey primaryKey) Table.getItemOutcome(PrimaryKey primaryKey, String projectionExpression, Map<String, String> nameMap) Table.updateItem(PrimaryKey primaryKey, AttributeUpdate... attributeUpdates) Table.updateItem(PrimaryKey primaryKey, String updateExpression, String conditionExpression, Map<String, String> nameMap, Map<String, Object> valueMap) Table.updateItem(PrimaryKey primaryKey, String updateExpression, Map<String, String> nameMap, Map<String, Object> valueMap) Table.updateItem(PrimaryKey primaryKey, Collection<Expected> expected, AttributeUpdate... attributeUpdates) Item.withPrimaryKey(PrimaryKey primaryKey) Convenient methods - sets the attributes of this item from the given key attributes.TableKeysAndAttributes.withPrimaryKeys(PrimaryKey... primaryKeys) Used to specify multiple primary keys.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 PrimaryKeyModifier and TypeMethodDescriptionDeleteItemApi.deleteItem(PrimaryKey primaryKey) Deletes an item by primary key.DeleteItemApi.deleteItem(PrimaryKey primaryKey, Expected... expected) Conditional delete with the specified primary key and expected conditions.DeleteItemApi.deleteItem(PrimaryKey primaryKey, String conditionExpression, Map<String, String> nameMap, Map<String, Object> valueMap) Conditional delete with the specified primary key and condition expression.GetItemApi.getItem(PrimaryKey primaryKey) Retrieves an item by primary key; or null if the item doesn't exist.Retrieves an item using projection expression.GetItemApi.getItemOutcome(PrimaryKey primaryKey) Retrieves an item and the associated information by primary key.GetItemApi.getItemOutcome(PrimaryKey primaryKey, String projectionExpression, Map<String, String> nameMap) Retrieves an item and the associated information using projection expression.UpdateItemApi.updateItem(PrimaryKey primaryKey, AttributeUpdate... attributeUpdates) Updates an item with the attributes specified.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.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.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 PrimaryKeyModifier and TypeMethodDescriptionQuerySpec.withExclusiveStartKey(PrimaryKey exclusiveStartKey) ScanSpec.withExclusiveStartKey(PrimaryKey exclusiveStartKey) AbstractSpecWithPrimaryKey.withPrimaryKey(PrimaryKey primaryKey) Sets the primary key.DeleteItemSpec.withPrimaryKey(PrimaryKey primaryKey) GetItemSpec.withPrimaryKey(PrimaryKey primaryKey) UpdateItemSpec.withPrimaryKey(PrimaryKey primaryKey)