Class BooleanSetUnmarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.BooleanSetUnmarshaller
-
- All Implemented Interfaces:
ArgumentUnmarshaller
public class BooleanSetUnmarshaller extends Object implements ArgumentUnmarshaller
A special unmarshaller for Set<Boolean>, which the V1 schema stores as an NS using 0/1 for true/false. In the V2 schema these fall through to theObjectSetToListMarshaller
which stores them as an L or BOOLs.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BooleanSetUnmarshaller
instance()
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
-
-
-
Method Detail
-
instance
public static BooleanSetUnmarshaller instance()
-
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)
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
- Specified by:
unmarshall
in interfaceArgumentUnmarshaller
-
-