Class NullableUnmarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.NullableUnmarshaller
-
- All Implemented Interfaces:
ArgumentUnmarshaller
public class NullableUnmarshaller extends Object implements ArgumentUnmarshaller
-
-
Constructor Summary
Constructors Constructor Description NullableUnmarshaller(ArgumentUnmarshaller wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
typeCheck(AttributeValue value, Method setter)
Asserts that the value given can be processed using the setter given.Object
unmarshall(AttributeValue value)
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
-
-
Constructor Detail
-
NullableUnmarshaller
public NullableUnmarshaller(ArgumentUnmarshaller wrapped)
-
-
Method Detail
-
typeCheck
public void typeCheck(AttributeValue value, Method setter)
Description copied from interface:ArgumentUnmarshaller
Asserts that the value given can be processed using the setter given.- Specified by:
typeCheck
in interfaceArgumentUnmarshaller
-
unmarshall
public Object unmarshall(AttributeValue value) throws ParseException
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
- Specified by:
unmarshall
in interfaceArgumentUnmarshaller
- Throws:
ParseException
- when unable to parse a date string
-
-