Package org.exoplatform.portal.mop
Class QueryResult<T>
java.lang.Object
org.exoplatform.portal.mop.QueryResult<T>
- All Implemented Interfaces:
Iterable<T>
A query result.
-
Constructor Details
-
QueryResult
-
-
Method Details
-
getFrom
public int getFrom()Returns the index of the first item in the result.- Returns:
- the first index
-
getSize
public int getSize()Returns the number of items returned.- Returns:
- the number of items
-
getTo
public int getTo()Returns the index of the item following the last item in the result.- Returns:
- the last index
-
iterator
-