com.googlecode.jpattern.orm.query
Interface ISqlQuery

All Superinterfaces:
ICustomQuery, IQuery, IRenderableSqlObject
All Known Implementing Classes:
SqlQuery

public interface ISqlQuery
extends ICustomQuery, IQuery

Author:
Francesco Cina 09/lug/2011

Method Summary
 ISqlQuery setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 ISqlQuery setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 
Methods inherited from interface com.googlecode.jpattern.orm.query.ICustomQuery
find, findBigDecimal, findBoolean, findDouble, findFloat, findInt, findList, findLong, findString, findUnique
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IQuery
appendValues, getMaxRows, getQueryTimeout
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IRenderableSqlObject
renderSql, renderSql
 

Method Detail

setMaxRows

ISqlQuery setMaxRows(int maxRows)
                     throws OrmException
Set the maximum number of rows to return in the query.

Specified by:
setMaxRows in interface IQuery
Parameters:
maxRows -
Returns:
Throws:
OrmException

setQueryTimeout

ISqlQuery setQueryTimeout(int queryTimeout)
Set the query timeout for the query.

Specified by:
setQueryTimeout in interface IQuery


Copyright © 2011. All Rights Reserved.