Class BooleanSetToNumberSetMarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.marshallers.BooleanSetToNumberSetMarshaller
-
- All Implemented Interfaces:
ArgumentMarshaller
,ArgumentMarshaller.NumberSetAttributeMarshaller
public class BooleanSetToNumberSetMarshaller extends Object implements ArgumentMarshaller.NumberSetAttributeMarshaller
A legacy marshaller that marshals sets of JavaBooleans
into DynamoDB NumberSets, representingtrue
as '1' andfalse
as '0'. Retained for backwards compatibility with older versions of the mapper which don't know about the DynamoDB BOOL type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.amazonaws.services.dynamodbv2.datamodeling.ArgumentMarshaller
ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BooleanSetToNumberSetMarshaller
instance()
AttributeValue
marshall(Object obj)
Marshalls the object given into an AttributeValue.
-
-
-
Method Detail
-
instance
public static BooleanSetToNumberSetMarshaller instance()
-
marshall
public AttributeValue marshall(Object obj)
Description copied from interface:ArgumentMarshaller
Marshalls the object given into an AttributeValue.- Specified by:
marshall
in interfaceArgumentMarshaller
-
-