|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResult
This is the root interface for query results. This is not a required interface, but we recommend query implementations to use it.
Method Summary | |
---|---|
long |
getTotalCount()
Get the total number of items returned by the query, ignoring any limits set by Query.setFirstResult(int) and
Query.setMaxResults(int) . |
Method Detail |
---|
long getTotalCount()
Query.setFirstResult(int)
and
Query.setMaxResults(int)
. If the
Query.setReturnTotalCount(boolean)
hasn't been enabled this method may
not return a correct value.
Query.setReturnTotalCount(boolean)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |