public class ConversionUtil extends Object
| Constructor and Description |
|---|
ConversionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
fromAttributeValue(com.amazonaws.services.dynamodbv2.model.AttributeValue attributeValue,
Class targetType,
Class collectionType) |
static Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
getItemFromObject(DynamoDBPersistable dynamoDBPersistable) |
static <T> T |
getObjectFromItem(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item,
Class<T> targetType) |
static <T> com.amazonaws.services.dynamodbv2.model.AttributeValue |
toAttributeValue(T value) |
static <T> com.amazonaws.services.dynamodbv2.model.AttributeValue |
toAttributeValue(T value,
Class collectionType) |
static Collection<com.amazonaws.services.dynamodbv2.model.AttributeValue> |
toAttributeValueList(Object value) |
public static Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> getItemFromObject(DynamoDBPersistable dynamoDBPersistable)
public static <T> com.amazonaws.services.dynamodbv2.model.AttributeValue toAttributeValue(T value)
public static <T> com.amazonaws.services.dynamodbv2.model.AttributeValue toAttributeValue(T value,
Class collectionType)
public static <T> T getObjectFromItem(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item, Class<T> targetType)
public static Object fromAttributeValue(com.amazonaws.services.dynamodbv2.model.AttributeValue attributeValue, Class targetType, Class collectionType)
public static Collection<com.amazonaws.services.dynamodbv2.model.AttributeValue> toAttributeValueList(Object value)
Copyright © 2014. All Rights Reserved.