Uses of Class
com.amazonaws.services.dynamodbv2.document.Item
Packages that use Item
Package
Description
-
Uses of Item in com.amazonaws.services.dynamodbv2.document
Methods in com.amazonaws.services.dynamodbv2.document that return ItemModifier and TypeMethodDescriptionItem.base64Decode
(String... binaryAttrNames) Utility method to decode the designated binary attributes from base-64 encoding; converting binary lists into binary sets.Item.convertListsToSets
(String... listAttrNames) Utility method to converts the designated attributes fromList
intoSet
, throwingIllegalArgumentException
should there be duplicate elements.static Item
Convenient factory method - instantiates anItem
from the given JSON string.static Item
Convenient factory method - instantiates anItem
from the given map.DeleteItemOutcome.getItem()
Returns all the returned attributes as a (non-null)Item
.GetItemOutcome.getItem()
Returns all the returned attributes as anItem
; or null if the item doesn't exist.PutItemOutcome.getItem()
Returns all the returned attributes as a (non-null)Item
.Table.getItem
(KeyAttribute... primaryKeyComponents) Table.getItem
(PrimaryKey primaryKey) Table.getItem
(GetItemSpec spec) Table.getItem
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, GetItemExpressionSpec projectionExpressions) Table.getItem
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, String projectionExpression, Map<String, String> nameMap) Table.getItem
(String hashKeyName, Object hashKeyValue, String projectionExpression, Map<String, String> nameMap) UpdateItemOutcome.getItem()
Returns all the returned attributes as a (non-null)Item
.Item.removeAttribute
(String attrName) Removes the specified attribute from the current item.Sets the value of the specified attribute to the given value.Item.withBigDecimalSet
(String attrName, BigDecimal... vals) Sets the value of the specified attribute in the current item to the given value.Item.withBigDecimalSet
(String attrName, Set<BigDecimal> val) Sets the value of the specified attribute in the current item to the given value.Item.withBigInteger
(String attrName, BigInteger val) Sets the value of the specified attribute in the current item to the given value.Item.withBinary
(String attrName, byte[] val) Sets the value of the specified attribute in the current item to the given value.Item.withBinary
(String attrName, ByteBuffer val) Sets the value of the specified attribute in the current item to the given value.Item.withBinarySet
(String attrName, byte[]... vals) Sets the value of the specified attribute in the current item to the given value.Item.withBinarySet
(String attrName, ByteBuffer... vals) Sets the value of the specified attribute in the current item to the given value.Item.withBinarySet
(String attrName, Set<byte[]> val) Sets the value of the specified attribute in the current item to the given value.Item.withBoolean
(String attrName, boolean val) Sets the value of the specified attribute in the current item to the boolean value.Item.withByteBufferSet
(String attrName, Set<ByteBuffer> val) Sets the value of the specified attribute in the current item to the given value.Item.withDouble
(String attrName, double val) Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute in the current item to the given JSON document in the form of a string.Item.withKeyComponent
(String keyAttrName, Object keyAttrValue) Convenient methods - sets an attribute of this item for the specified key attribute name and value.Item.withKeyComponents
(KeyAttribute... components) Convenient methods - sets the attributes of this item from the specified key components.Sets the value of the specified attribute in the current item to the given values as a list.Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute in the current item to the given value.Sets the value of the specified attribute to null.Item.withNumber
(String attrName, Number val) Sets the value of the specified attribute in the current item to the given value.Item.withNumber
(String attrName, BigDecimal val) Sets the value of the specified attribute in the current item to the given value.Item.withNumberSet
(String attrName, Number... vals) Sets the value of the specified attribute in the current item to the given value.Item.withNumberSet
(String attrName, Set<Number> vals) Sets the value of the specified attribute in the current item to the given value.Item.withPrimaryKey
(PrimaryKey primaryKey) Convenient methods - sets the attributes of this item from the given key attributes.Item.withPrimaryKey
(String hashKeyName, Object hashKeyValue) Convenient method to set the attributes of this item from the given hash-only primary key name and value.Item.withPrimaryKey
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Convenient method to set the attributes of this item from the given hash and range primary key.Sets the value of the specified attribute in the current item to the given value.Item.withString
(String attrName, String val) Sets the value of the specified attribute in the current item to the given string value.Item.withStringSet
(String attrName, String... val) Sets the value of the specified attribute in the current item to the given value.Item.withStringSet
(String attrName, Set<String> val) Sets the value of the specified attribute in the current item to the given value.Methods in com.amazonaws.services.dynamodbv2.document that return types with arguments of type ItemModifier and TypeMethodDescriptionQueryOutcome.getItems()
Returns a non-null list of the returned items; can be empty.ScanOutcome.getItems()
Returns a non-null list of the returned items; can be empty.TableWriteItems.getItemsToPut()
Returns the collection of items to be put in the current table in a batch write operation.BatchGetItemOutcome.getTableItems()
Returns a map of table name to the list of retrieved itemsItemCollection.pages()
Returns anIterable<Page<Item, R>>
that iterates over pages of items from this collection.Methods in com.amazonaws.services.dynamodbv2.document with parameters of type ItemModifier and TypeMethodDescriptionTableWriteItems.addItemToPut
(Item item) Adds an item to be put to the current table in a batch write operation.Table.putItem
(Item item, String conditionExpression, Map<String, String> nameMap, Map<String, Object> valueMap) TableWriteItems.withItemsToPut
(Item... itemsToPut) Used to specify the items to be put in the current table in a batch write operation.Method parameters in com.amazonaws.services.dynamodbv2.document with type arguments of type ItemModifier and TypeMethodDescriptionTableWriteItems.withItemsToPut
(Collection<Item> itemsToPut) Used to specify the collection of items to be put in the current table in a batch write operation. -
Uses of Item in com.amazonaws.services.dynamodbv2.document.api
Methods in com.amazonaws.services.dynamodbv2.document.api that return ItemModifier and TypeMethodDescriptionGetItemApi.getItem
(KeyAttribute... primaryKeyComponents) Retrieves an item by primary key.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.getItem
(GetItemSpec spec) Retrieves an item by specifying all the details.Retrieves an item by primary key when the primary key is a hash-only key.GetItemApi.getItem
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Retrieves an item by primary key when the primary key consists of both a hash-key and a range-key.GetItemApi.getItem
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, String projectionExpression, Map<String, String> nameMap) Retrieves an item via the specified hash key and range key using projection expression.GetItemApi.getItem
(String hashKeyName, Object hashKeyValue, String projectionExpression, Map<String, String> nameMap) Retrieves an item via the specified hash key using projection expression.Methods in com.amazonaws.services.dynamodbv2.document.api with parameters of type Item -
Uses of Item in com.amazonaws.services.dynamodbv2.document.spec
Methods in com.amazonaws.services.dynamodbv2.document.spec that return ItemMethods in com.amazonaws.services.dynamodbv2.document.spec with parameters of type Item