Class VanillaSQLTranslator

    • Constructor Detail

      • VanillaSQLTranslator

        public VanillaSQLTranslator()
        Default constructor
    • Method Detail

      • apply

        public String apply​(String sql)
        Translate the given statement.

        This implementation strips out (many) MySQL-specific syntax.

        Specified by:
        apply in interface Function<String,​String>
        Overrides:
        apply in class MySQLTranslator
        Parameters:
        sql - The SQL statement to translate
        Returns:
        The translated version of the the SQL statement.