All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.queryflow.page.H2PageSqlMatchProcess Maven / Gradle / Ivy

The newest version!
package com.queryflow.page;

import com.queryflow.common.DbType;

public class H2PageSqlMatchProcess extends AbstractPageSqlMatchProcess {

    @Override
    protected String dbType() {
        return DbType.H2.value();
    }

    @Override
    protected String internalSqlProcess(String sql, int start, int limit) {
        StringBuilder pageSql = new StringBuilder(sql);
        pageSql.append(" limit ").append(start).append(", ").append(limit);
        return pageSql.toString();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy