jooqpreprocessor.parsers.DropTable Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of jooq-preprocessor Show documentation
                Show all versions of jooq-preprocessor Show documentation
A preprocessor for SQL files to allow for parsing with JOOQ parser
                
             The newest version!
        
        package jooqpreprocessor.parsers;
public final class DropTable implements StatementParser {
    @Override
    public boolean matches(final String statement) {
        return statement.startsWith("DROP TABLE `");
    }
    @Override
    public String convert(final String statement) {
        return statement+";\n";
    }
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy