Class CustomUnmarshaller
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.CustomUnmarshaller
- All Implemented Interfaces:
ArgumentUnmarshaller
An unmarshaller that delegates to an instance of a
DynamoDBMarshaller
-derived custom marshaler.-
Constructor Summary
ConstructorsConstructorDescriptionCustomUnmarshaller
(Class<?> targetClass, Class<? extends DynamoDBMarshaller<?>> unmarshallerClass) -
Method Summary
Modifier and TypeMethodDescriptionvoid
typeCheck
(AttributeValue value, Method setter) Asserts that the value given can be processed using the setter given.unmarshall
(AttributeValue value) Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
Constructor Details
-
CustomUnmarshaller
public CustomUnmarshaller(Class<?> targetClass, Class<? extends DynamoDBMarshaller<?>> unmarshallerClass)
-
-
Method Details
-
unmarshall
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
typeCheck
Description copied from interface:ArgumentUnmarshaller
Asserts that the value given can be processed using the setter given.- Specified by:
typeCheck
in interfaceArgumentUnmarshaller
-