Class BooleanSetUnmarshaller
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.BooleanSetUnmarshaller
- All Implemented Interfaces:
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
the
ObjectSetToListMarshaller
which stores them as an L or BOOLs.-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanSetUnmarshaller
instance()
void
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
-
Method Details
-
instance
-
typeCheck
Description copied from interface:ArgumentUnmarshaller
Asserts that the value given can be processed using the setter given.- Specified by:
typeCheck
in interfaceArgumentUnmarshaller
-
unmarshall
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
- Specified by:
unmarshall
in interfaceArgumentUnmarshaller
-