Class MySQLDialect

    • Constructor Detail

      • MySQLDialect

        public MySQLDialect()
    • Method Detail

      • formSelect

        public String formSelect​(String tableName,
                                 String[] columns,
                                 String subQuery,
                                 List<String> orderBys,
                                 long limit,
                                 long offset)
        Description copied from class: PostgreSQLDialect
        Generates adds limit, offset and order bys to a sub-query
        Specified by:
        formSelect in interface Dialect
        Overrides:
        formSelect in class PostgreSQLDialect
        Parameters:
        tableName - name of table. If table name is null, then the subQuery parameter is considered to be a full query, and all that needs to be done is to add limit, offset and order bys
        columns - not used in this implementation
        subQuery - sub-query or a full query
        Returns:
        query with