public final class BooleanSetToNumberSetMarshaller extends java.lang.Object implements ArgumentMarshaller.NumberSetAttributeMarshaller
Booleans into DynamoDB
NumberSets, representing true as '1' and false as '0'.
Retained for backwards compatibility with older versions of the mapper which
don't know about the DynamoDB BOOL type.ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller| Modifier and Type | Method and Description |
|---|---|
static BooleanSetToNumberSetMarshaller |
instance()
Return a singleton instance.
|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
public static BooleanSetToNumberSetMarshaller instance()
BooleanToBooleanMarshallerpublic AttributeValue marshall(java.lang.Object obj)
ArgumentMarshallermarshall in interface ArgumentMarshallerobj - the object to be marshalled.AttributeValueCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.