![JAR search and dependency download from the Maven repository](/logo.png)
com.github.giantray.compositesSelectSql.SelectSql Maven / Gradle / Ivy
package com.github.giantray.compositesSelectSql;
import java.util.ArrayList;
import java.util.List;
/**
* Select SQL generate result set
*/
public class SelectSql {
/**
* sql like 'select * from xxx where xxx order by xxx limit x,x'
*/
private String selectAll;
/**
* sql like 'select count(*) from xxx where xxx order by xxx limit x,x'
*/
private String selectCount;
/**
* where segment like 'where xxx'
*/
private String where;
/**
* limit segment like 'limit x,y'
*/
private String limit;
/**
* order segment like 'order by xx desc'
*/
private String order;
/**
* sql like 'select * from xxx where a =? and b =? order by xxx limit x,x'
*/
private String selectAllForPreparedstatement;
/**
* sql like 'select count(*) from xxx where a =? and b =? order by xxx limit
* x,x'
*/
private String selectCountForPreparedstatement;
/**
* para for preparedstatement sql where condition
*/
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy