Constructor and Description |
---|
SQLQuery() |
Modifier and Type | Method and Description |
---|---|
SQLQuery |
addClause(SQLClause inValue) |
SQLQuery |
addClauses(Collection<SQLClause> inClauses) |
SQLQuery |
addFrom(DatabaseTable inValue) |
SQLQuery |
addFrom(DatabaseTable inValue,
String inAlias) |
SQLQuery |
addFrom(String inValue) |
SQLQuery |
addFrom(String inValue,
String inAlias) |
SQLQuery |
addGroupBy(DatabaseCol inValue) |
SQLQuery |
addGroupBy(String inValue) |
SQLQuery |
addJoin(JoinClause inValue) |
SQLQuery |
addJoin(String inValue) |
SQLQuery |
addOrderBy(String inValue) |
SQLQuery |
addSelect(DatabaseCol inColumn) |
SQLQuery |
addSelect(String inValue) |
SQLQuery |
addWhereClause(DatabaseField inValue) |
SQLQuery |
addWhereClause(String inValue) |
SQLQuery |
addWhereClauseGroup(WhereClauseGroup inValue) |
ResultSet |
execute(Connection inConn) |
ResultSet |
execute(Connection inConn,
SQLStatementOptions inOptions) |
SQLQuery |
setLimit(int inValue) |
String |
toSQL() |
String |
toString() |
generateOrderByClause, generateWhereClause
public SQLQuery()
public ResultSet execute(Connection inConn) throws SQLException
SQLException
public ResultSet execute(Connection inConn, SQLStatementOptions inOptions) throws SQLException
SQLException
public SQLQuery addClauses(Collection<SQLClause> inClauses)
addClauses
in class SQLCmd
public SQLQuery addClause(SQLClause inValue) throws JDBCException
addClause
in class SQLCmd
JDBCException
public SQLQuery addSelect(DatabaseCol inColumn)
public SQLQuery addFrom(DatabaseTable inValue)
public SQLQuery addFrom(DatabaseTable inValue, String inAlias)
public SQLQuery addJoin(JoinClause inValue)
public SQLQuery addWhereClause(String inValue)
public SQLQuery addWhereClause(DatabaseField inValue)
public SQLQuery addWhereClauseGroup(WhereClauseGroup inValue)
addWhereClauseGroup
in class SQLCmd
public SQLQuery addGroupBy(DatabaseCol inValue)
public SQLQuery addGroupBy(String inValue)
public SQLQuery addOrderBy(String inValue)