public class MapUnmarshaller extends Object
Constructor and Description |
---|
MapUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static MapUnmarshaller |
instance()
returns a singleton instance.
|
void |
typeCheck(AttributeValue value,
Method setter)
Asserts that the value given can be processed using the setter given.
|
Object |
unmarshall(AttributeValue value)
Unmarshalls the
AttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper |
public MapUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
memberUnmarshaller
- a ArgumentUnmarshaller
public static MapUnmarshaller instance()
MapUnmarshaller
public Object unmarshall(AttributeValue value) throws ParseException
ArgumentUnmarshaller
AttributeValue
given into an instance of the
appropriate type, as determined by DynamoDBReflector
and
DynamoDBMapper
value
- the attribute value.ParseException
- when unable to parse a date stringpublic void typeCheck(AttributeValue value, Method setter)
ArgumentUnmarshaller
typeCheck
in interface ArgumentUnmarshaller
value
- the attribute value.setter
- the method.Copyright © 2019. All rights reserved.