|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.datamodeling.AttributeTransformerChain
public class AttributeTransformerChain
A virtual AttributeTransformer
that transforms and untransforms
attributes by running them through a cascading series of child
AttributeTransformer
instances.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.amazonaws.services.dynamodbv2.datamodeling.AttributeTransformer |
---|
AttributeTransformer.Parameters<T> |
Constructor Summary | |
---|---|
AttributeTransformerChain(AttributeTransformer... transformers)
Creates a new transformer chain from the given array of transformers. |
|
AttributeTransformerChain(List<AttributeTransformer> transformers)
Creates a new transformer chain from the given list of transformers. |
Method Summary | |
---|---|
List<AttributeTransformer> |
getTransformers()
|
String |
toString()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeTransformerChain(AttributeTransformer... transformers)
transformers
- the chain of transformers.public AttributeTransformerChain(List<AttributeTransformer> transformers)
transformers
- the chain of transformers.Method Detail |
---|
public List<AttributeTransformer> getTransformers()
public Map<String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformer
transform
in interface AttributeTransformer
parameters
- transformation parameters
public Map<String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformer
untransform
in interface AttributeTransformer
parameters
- transformation parameters
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |