com.googlecode.jpattern.orm.query
Interface IOrmCustomQuery

All Superinterfaces:
IBaseOrmQuery, ICustomQuery, IQuery, IRenderableSqlObject
All Known Implementing Classes:
OrmCustomQuery

public interface IOrmCustomQuery
extends IBaseOrmQuery, ICustomQuery

Author:
Francesco Cina 07/lug/2011

Method Summary
 IOrmCustomQuery setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 IOrmCustomQuery setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IBaseOrmQuery
join, orderBy, where
 
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
 
Methods inherited from interface com.googlecode.jpattern.orm.query.ICustomQuery
find, findBigDecimal, findBoolean, findDouble, findFloat, findInt, findList, findLong, findString, findUnique
 

Method Detail

setMaxRows

IOrmCustomQuery 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

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

Specified by:
setQueryTimeout in interface IQuery


Copyright © 2011. All Rights Reserved.