package mil.nga.giat.geowave.core.store.adapter;
import java.io.IOException;
import java.util.Map;
import mil.nga.giat.geowave.core.index.ByteArrayId;
import mil.nga.giat.geowave.core.index.Mergeable;
import mil.nga.giat.geowave.core.index.Persistable;
public interface RowMergingDataAdapter<T, M extends Mergeable> extends
WritableDataAdapter<T>
{
public RowTransform<M> getTransform();
public Map<String, String> getOptions(
Map<String, String> existingOptions );
public static interface RowTransform<M extends Mergeable> extends
Persistable
{
public void initOptions(
final Map<String, String> options )
throws IOException;
public M getRowAsMergeableObject(
final ByteArrayId adapterId,
final ByteArrayId fieldId,
final byte[] rowValueBinary );
public byte[] getBinaryFromMergedObject(
final M rowObject );
public String getTransformName();
public int getBaseTransformPriority();
}
}