Class MapUnmarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.MapUnmarshaller
-
- All Implemented Interfaces:
ArgumentUnmarshaller
public class MapUnmarshaller extends Object
-
-
Constructor Summary
Constructors Constructor Description MapUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapUnmarshallerinstance()voidtypeCheck(AttributeValue value, Method setter)Asserts that the value given can be processed using the setter given.Objectunmarshall(AttributeValue value)Unmarshalls theAttributeValuegiven into an instance of the appropriate type, as determined byDynamoDBReflectorandDynamoDBMapper
-
-
-
Constructor Detail
-
MapUnmarshaller
public MapUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
-
-
Method Detail
-
instance
public static MapUnmarshaller instance()
-
unmarshall
public Object unmarshall(AttributeValue value) throws ParseException
Description copied from interface:ArgumentUnmarshallerUnmarshalls theAttributeValuegiven into an instance of the appropriate type, as determined byDynamoDBReflectorandDynamoDBMapper- Throws:
ParseException- when unable to parse a date string
-
typeCheck
public void typeCheck(AttributeValue value, Method setter)
Description copied from interface:ArgumentUnmarshallerAsserts that the value given can be processed using the setter given.- Specified by:
typeCheckin interfaceArgumentUnmarshaller
-
-