|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AttributeTransformer.Parameters<T>
Parameters for the transform
and untransform
methods,
so we don't have to break the interface in order to add additional
parameters.
Consuming code should NOT implement this interface.
Method Summary | |
---|---|
java.util.Map<java.lang.String,AttributeValue> |
getAttributeValues()
Returns the raw attribute values to be transformed or untransformed. |
java.lang.String |
getHashKeyName()
|
DynamoDBMapperConfig |
getMapperConfig()
|
java.lang.Class<T> |
getModelClass()
|
java.lang.String |
getRangeKeyName()
|
java.lang.String |
getTableName()
|
boolean |
isPartialUpdate()
Returns true if this transformation is being called as part of a partial update operation. |
Method Detail |
---|
java.util.Map<java.lang.String,AttributeValue> getAttributeValues()
boolean isPartialUpdate()
getAttributeValues()
do not represent the entire new
item, but only a snapshot of the attributes which are getting
new values.
Implementations which do not support transforming a partial view of an item (for example, because they need to calculate a signature based on all of the item's attributes that won't be valid if only a subset of the attributes are taken into consideration) should check this flag and throw an exception rather than than corrupting the data in DynamoDB.
This method always returns false
for instances passed to
AttributeTransformer.untransform(Parameters)
.
java.lang.Class<T> getModelClass()
DynamoDBMapperConfig getMapperConfig()
java.lang.String getTableName()
java.lang.String getHashKeyName()
java.lang.String getRangeKeyName()
null
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |