de.akquinet.jbosscc.guttenbase.mapping.TableMapper Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.mapping;
import de.akquinet.jbosscc.guttenbase.meta.DatabaseMetaData;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
/**
* Select target table for given source table.
*
*
* © 2012-2034 akquinet tech@spree
*
*
* @author M. Dahm
*/
@SuppressWarnings("RedundantThrows")
public interface TableMapper {
/**
* @return matching table in target data base or null
*/
TableMetaData map(TableMetaData source, DatabaseMetaData targetDatabaseMetaData);
/**
* @return plain table name in target data base
*/
String mapTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData);
/**
* @return fully qualifed table name in target data base, i.e. including schema prefix and escape characters
*/
String fullyQualifiedTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy