public class AttributeTransformerChain extends java.lang.Object implements AttributeTransformer
AttributeTransformer that transforms and untransforms
attributes by running them through a cascading series of child
AttributeTransformer instances.AttributeTransformer.Parameters<T>| Constructor and Description |
|---|
AttributeTransformerChain(AttributeTransformer... transformers)
Deprecated.
Creates a new transformer chain from the given array of transformers.
|
AttributeTransformerChain(java.util.List<AttributeTransformer> transformers)
Deprecated.
Creates a new transformer chain from the given list of transformers.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AttributeTransformer> |
getTransformers()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
java.util.Map<java.lang.String,AttributeValue> |
transform(AttributeTransformer.Parameters<?> parameters)
Deprecated.
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)
Deprecated.
Untransform the input set of attribute values read from DynamoDB before
creating a model object from them.
|
public AttributeTransformerChain(AttributeTransformer... transformers)
transformers - the chain of transformers.public AttributeTransformerChain(java.util.List<AttributeTransformer> transformers)
transformers - the chain of transformers.public java.util.List<AttributeTransformer> getTransformers()
public java.util.Map<java.lang.String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformertransform in interface AttributeTransformerparameters - transformation parameterspublic java.util.Map<java.lang.String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformeruntransform in interface AttributeTransformerparameters - transformation parameterspublic java.lang.String toString()
toString in class java.lang.Object