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 |
---|---|
java.util.Map<java.lang.String,AttributeValue> |
transform(AttributeTransformer.Parameters<?> parameters)
Transforms the input set of attribute values derived from the model
object before writing them into DynamoDB.
|
java.util.Map<java.lang.String,AttributeValue> |
untransform(AttributeTransformer.Parameters<?> parameters)
Untransform the input set of attribute values read from DynamoDB before
creating a model object from them.
|
java.util.Map<java.lang.String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
parameters
- transformation parametersjava.util.Map<java.lang.String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
parameters
- transformation parametersCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.