public interface AttributeTransformer
This interface contains both a transform method and a corresponding
untransform method. These methods SHOULD be inverses, such that
untransform(transform(value)) == value.
| Modifier and Type | Interface and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AttributeValue> |
transform(AttributeTransformer.Parameters<?> parameters)
Transforms the input set of attribute values derived from the model
object before writing them into DynamoDB.
|
Map<String,AttributeValue> |
untransform(AttributeTransformer.Parameters<?> parameters)
Untransform the input set of attribute values read from DynamoDB before
creating a model object from them.
|
Map<String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
parameters - transformation parametersMap<String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
parameters - transformation parameters