[jOOQ/jOOQ#8528] Rename class to TranslatingMetaProvider
The interpretation is not strictly about DDL, which is a historically confusing term for all of this interpretation stuff.
This commit is contained in:
parent
9f1878372b
commit
5305bb35c7
@ -55,7 +55,7 @@ import org.jooq.tools.JooqLogger;
|
||||
* provide} a {@link Meta} implementation based on a set of DDL scripts as the
|
||||
* input.
|
||||
* <p>
|
||||
* In contrast to {@link DDLMetaProvider} this implementation interprets the DDL
|
||||
* In contrast to {@link TranslatingMetaProvider} this implementation interprets the DDL
|
||||
* scripts.
|
||||
*
|
||||
* @author Knut Wannheden
|
||||
|
||||
@ -83,7 +83,7 @@ final class SourceMetaProvider implements MetaProvider {
|
||||
case H2:
|
||||
case HSQLDB:
|
||||
case SQLITE:
|
||||
return new DDLMetaProvider(configuration, sources).provide();
|
||||
return new TranslatingMetaProvider(configuration, sources).provide();
|
||||
|
||||
default:
|
||||
throw new UnsupportedOperationException("Interpreter dialect not yet supported: " + dialect);
|
||||
|
||||
@ -73,15 +73,15 @@ import org.jooq.tools.jdbc.JDBCUtils;
|
||||
*
|
||||
* @author Knut Wannheden
|
||||
*/
|
||||
final class DDLMetaProvider implements MetaProvider {
|
||||
final class TranslatingMetaProvider implements MetaProvider {
|
||||
|
||||
private static final JooqLogger log = JooqLogger.getLogger(DDLMetaProvider.class);
|
||||
private static final JooqLogger log = JooqLogger.getLogger(TranslatingMetaProvider.class);
|
||||
private static final Pattern P_NAME = Pattern.compile("(?s:.*?\"([^\"]*)\".*)");
|
||||
|
||||
private final Configuration configuration;
|
||||
private final Source[] scripts;
|
||||
|
||||
public DDLMetaProvider(Configuration configuration, Source... scripts) {
|
||||
public TranslatingMetaProvider(Configuration configuration, Source... scripts) {
|
||||
this.configuration = configuration == null ? new DefaultConfiguration() : configuration;
|
||||
this.scripts = scripts;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user