|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOrmQuery<T>
| Method Summary | |
|---|---|
List<T> |
findList()
Execute the query returning the list of objects. |
long |
findRowCount()
Return the count of entities this query should return. |
T |
findUnique()
Execute the query returning either a single bean or null (if no matching bean is found). |
String |
getGeneratedRowCountSql()
Return the sql that was generated for to return the row count of the execution of this query. |
boolean |
isDistinct()
return if use Distinct in the select clause |
IOrmQuery<T> |
setDistinct()
use Distinct in the select clause |
| 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, setMaxRows, setQueryTimeout |
| Methods inherited from interface com.googlecode.jpattern.orm.query.IRenderableSqlObject |
|---|
renderSql, renderSql |
| Method Detail |
|---|
List<T> findList()
throws OrmException
OrmException
long findRowCount()
throws OrmException
OrmException
T findUnique()
throws OrmNotUniqueResultException
OrmNotUniqueResultException - if not exactly one row is returned from the query execution
String getGeneratedRowCountSql()
throws OrmException
OrmException
IOrmQuery<T> setDistinct()
throws OrmException
OrmException
boolean isDistinct()
throws OrmException
OrmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||