com.scaleset.search.dynamo.Mapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scaleset-search Show documentation
Show all versions of scaleset-search Show documentation
Java object model for representing query requests in REST protocols.
package com.scaleset.search.dynamo;
import com.amazonaws.services.dynamodbv2.model.AttributeValue;
import java.util.Map;
public interface Mapping {
Map entityToKey(T obj) throws Exception;
T fromRow(Map row) throws Exception;
Map idToKey(ID id) throws Exception;
Map toRow(T obj) throws Exception;
}