Class CustomMarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.marshallers.CustomMarshaller
-
- All Implemented Interfaces:
ArgumentMarshaller
,ArgumentMarshaller.StringAttributeMarshaller
public class CustomMarshaller extends Object implements ArgumentMarshaller.StringAttributeMarshaller
A marshaller that delegates to an instance of aDynamoDBMarshalling
-derived custom marshaler.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description CustomMarshaller(Class<? extends DynamoDBMarshaller<?>> marshallerClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeValue
marshall(Object obj)
Marshalls the object given into an AttributeValue.
-
-
-
Constructor Detail
-
CustomMarshaller
public CustomMarshaller(Class<? extends DynamoDBMarshaller<?>> marshallerClass)
-
-
Method Detail
-
marshall
public AttributeValue marshall(Object obj)
Description copied from interface:ArgumentMarshaller
Marshalls the object given into an AttributeValue.- Specified by:
marshall
in interfaceArgumentMarshaller
-
-