de.akquinet.jbosscc.guttenbase.mapping.ColumnMapper Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.mapping;
import java.sql.SQLException;
import java.util.List;
import de.akquinet.jbosscc.guttenbase.meta.ColumnMetaData;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
/**
* Select target column(s) for given source column. Usually, this will a 1:1 relationship. However, there may be situations where you want
* to duplicate or transform data into multiple columns.
*
*
* © 2012 akquinet tech@spree
*
*
* @author M. Dahm
*/
public interface ColumnMapper {
/**
* Return according columns in target table. Must not be NULL.
*/
List map(ColumnMetaData source, TableMetaData targetTableMetaData) throws SQLException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy