Item |
Item.base64Decode(String... binaryAttrNames) |
Utility method to decode the designated binary attributes from base-64
encoding; converting binary lists into binary sets.
|
Item |
Item.convertListsToSets(String... listAttrNames) |
Utility method to converts the designated attributes from
List into Set , throwing
IllegalArgumentException should there be duplicate elements.
|
static Item |
Item.fromJSON(String json) |
Convenient factory method - instantiates an Item from the
given JSON string.
|
static Item |
Item.fromMap(Map<String,Object> attributes) |
Convenient factory method - instantiates an Item from the
given map.
|
Item |
DeleteItemOutcome.getItem() |
Returns all the returned attributes as a (non-null) Item .
|
Item |
GetItemOutcome.getItem() |
Returns all the returned attributes as an Item ; or null if the
item doesn't exist.
|
Item |
PutItemOutcome.getItem() |
Returns all the returned attributes as a (non-null) Item .
|
Item |
Table.getItem(KeyAttribute... primaryKeyComponents) |
|
Item |
Table.getItem(PrimaryKey primaryKey) |
|
Item |
Table.getItem(PrimaryKey primaryKey,
String projectionExpression,
Map<String,String> nameMap) |
|
Item |
Table.getItem(GetItemSpec spec) |
|
Item |
Table.getItem(String hashKeyName,
Object hashKeyValue) |
|
Item |
Table.getItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue) |
|
Item |
Table.getItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
GetItemExpressionSpec projectionExpressions) |
|
Item |
Table.getItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
String projectionExpression,
Map<String,String> nameMap) |
|
Item |
Table.getItem(String hashKeyName,
Object hashKeyValue,
String projectionExpression,
Map<String,String> nameMap) |
|
Item |
UpdateItemOutcome.getItem() |
Returns all the returned attributes as a (non-null) Item .
|
Item |
Item.removeAttribute(String attrName) |
Removes the specified attribute from the current item.
|
Item |
Item.with(String attrName,
Object val) |
Sets the value of the specified attribute to the given value.
|
Item |
Item.withBigDecimalSet(String attrName,
BigDecimal... vals) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBigDecimalSet(String attrName,
Set<BigDecimal> val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBigInteger(String attrName,
BigInteger val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBinary(String attrName,
byte[] val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBinary(String attrName,
ByteBuffer val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBinarySet(String attrName,
byte[]... vals) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBinarySet(String attrName,
ByteBuffer... vals) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBinarySet(String attrName,
Set<byte[]> val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withBoolean(String attrName,
boolean val) |
Sets the value of the specified attribute in the current item to the
boolean value.
|
Item |
Item.withByteBufferSet(String attrName,
Set<ByteBuffer> val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withDouble(String attrName,
double val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withFloat(String attrName,
float val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withInt(String attrName,
int val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withJSON(String attrName,
String json) |
Sets the value of the specified attribute in the current item to the
given JSON document in the form of a string.
|
Item |
Item.withKeyComponent(String keyAttrName,
Object keyAttrValue) |
Convenient methods - sets an attribute of this item for the specified
key attribute name and value.
|
Item |
Item.withKeyComponents(KeyAttribute... components) |
Convenient methods - sets the attributes of this item from the specified
key components.
|
Item |
Item.withList(String attrName,
Object... vals) |
Sets the value of the specified attribute in the current item to the
given values as a list.
|
Item |
Item.withList(String attrName,
List<?> val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withLong(String attrName,
long val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withMap(String attrName,
Map<String,?> val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withNull(String attrName) |
Sets the value of the specified attribute to null.
|
Item |
Item.withNumber(String attrName,
Number val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withNumber(String attrName,
BigDecimal val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withNumberSet(String attrName,
Number... vals) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withNumberSet(String attrName,
Set<Number> vals) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withPrimaryKey(PrimaryKey primaryKey) |
Convenient methods - sets the attributes of this item from the given
key attributes.
|
Item |
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 |
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.
|
Item |
Item.withShort(String attrName,
short val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withString(String attrName,
String val) |
Sets the value of the specified attribute in the current item to the
given string value.
|
Item |
Item.withStringSet(String attrName,
String... val) |
Sets the value of the specified attribute in the current item to the
given value.
|
Item |
Item.withStringSet(String attrName,
Set<String> val) |
Sets the value of the specified attribute in the current item to the
given value.
|