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 BooleanSetUnmarshallerinstance()voidtypeCheck(AttributeValue value, Method setter) Asserts that the value given can be processed using the setter given.unmarshall(AttributeValue value) Unmarshalls theAttributeValuegiven into an instance of the appropriate type, as determined byDynamoDBReflectorandDynamoDBMapper
-
Method Details
-
instance
-
typeCheck
Description copied from interface:ArgumentUnmarshallerAsserts that the value given can be processed using the setter given.- Specified by:
typeCheckin interfaceArgumentUnmarshaller
-
unmarshall
Description copied from interface:ArgumentUnmarshallerUnmarshalls theAttributeValuegiven into an instance of the appropriate type, as determined byDynamoDBReflectorandDynamoDBMapper- Specified by:
unmarshallin interfaceArgumentUnmarshaller
-