|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.marshallers.BooleanToNumberMarshaller
public class BooleanToNumberMarshaller
A legacy marshaller that marshals Java Booleans into DynamoDB
Numbers, 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.ArgumentMarshaller |
|---|
ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller |
| Method Summary | |
|---|---|
static BooleanToNumberMarshaller |
instance()
|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BooleanToNumberMarshaller instance()
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall in interface ArgumentMarshaller
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||