com.googlecode.jpattern.orm.query
Class AQuery

java.lang.Object
  extended by com.googlecode.jpattern.orm.query.AQuery
All Implemented Interfaces:
IQuery, IRenderableSqlObject
Direct Known Subclasses:
ABaseOrmQuery, SqlQuery

public abstract class AQuery
extends Object
implements IQuery


Constructor Summary
AQuery()
           
 
Method Summary
 int getMaxRows()
          Return the max rows for this query.
 int getQueryTimeout()
          Return the query timeout for the query.
 IQuery setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 IQuery setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IQuery
appendValues
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IRenderableSqlObject
renderSql, renderSql
 

Constructor Detail

AQuery

public AQuery()
Method Detail

getMaxRows

public final int getMaxRows()
                     throws OrmException
Description copied from interface: IQuery
Return the max rows for this query.

Specified by:
getMaxRows in interface IQuery
Returns:
Throws:
OrmException

setQueryTimeout

public final IQuery setQueryTimeout(int queryTimeout)
Description copied from interface: IQuery
Set the query timeout for the query.

Specified by:
setQueryTimeout in interface IQuery

getQueryTimeout

public final int getQueryTimeout()
Description copied from interface: IQuery
Return the query timeout for the query.

Specified by:
getQueryTimeout in interface IQuery

setMaxRows

public final IQuery setMaxRows(int maxRows)
                        throws OrmException
Description copied from interface: IQuery
Set the maximum number of rows to return in the query.

Specified by:
setMaxRows in interface IQuery
Returns:
Throws:
OrmException


Copyright © 2011. All Rights Reserved.