public class NumberToNumberMarshaller extends java.lang.Object implements ArgumentMarshaller.NumberAttributeMarshaller
Number
to a DynamoDB number.ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Modifier and Type | Field and Description |
---|---|
private static NumberToNumberMarshaller |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
NumberToNumberMarshaller() |
Modifier and Type | Method and Description |
---|---|
static NumberToNumberMarshaller |
instance() |
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
private static final NumberToNumberMarshaller INSTANCE
public static NumberToNumberMarshaller instance()
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller