package mil.nga.giat.geowave.mapreduce;
import mil.nga.giat.geowave.core.store.adapter.DataAdapter;
import org.apache.hadoop.io.Writable;
/**
* This is an interface that extends data adapter to allow map reduce jobs to
* easily convert hadoop writable objects to and from the geowave native
* representation of the objects. This allow for generally applicable map reduce
* jobs to be written using base classes for the mapper that can handle
* translations.
*
* @param <T>
* the native type
* @param <W>
* the writable type
*/
public interface HadoopDataAdapter<T, W extends Writable> extends
DataAdapter<T>
{
public HadoopWritableSerializer<T, W> createWritableSerializer();
}