|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomFindQueryCommon
| Method Summary | |
|---|---|
LockMode |
getLockMode()
Return the current lock mode |
int |
getMaxRows()
Return the max rows for this query. |
int |
getQueryTimeout()
Return the query timeout for the query. |
boolean |
isDistinct()
return if use Distinct in the select clause |
CustomFindQuery |
setDistinct(boolean distinct)
Whether to use Distinct in the select clause |
CustomFindQuery |
setLockMode(LockMode lockMode)
|
CustomFindQuery |
setMaxRows(int maxRows)
Set the maximum number of rows to return in the query. |
CustomFindQuery |
setQueryTimeout(int queryTimeout)
Set the query timeout for the query. |
| Methods inherited from interface com.jpattern.orm.query.RenderableSqlQuery |
|---|
appendValues, renderSql, renderSql |
| Methods inherited from interface com.jpattern.orm.query.CustomQuery |
|---|
find, find, findBigDecimal, findBoolean, findDouble, findFloat, findInt, findList, findLong, findString, findUnique, findUnique |
| Method Detail |
|---|
CustomFindQuery setDistinct(boolean distinct)
throws OrmException
OrmException
boolean isDistinct()
throws OrmException
OrmExceptionCustomFindQuery setLockMode(LockMode lockMode)
lockMode -
LockMode getLockMode()
int getMaxRows()
throws OrmException
OrmException
CustomFindQuery setMaxRows(int maxRows)
throws OrmException
maxRows -
OrmExceptionCustomFindQuery setQueryTimeout(int queryTimeout)
int getQueryTimeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||