Package org.fcrepo.search.api
Class PaginationInfo
java.lang.Object
org.fcrepo.search.api.PaginationInfo
A data structure representing the pagination information associated with a
SearchResult- Author:
- dbernstein
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPaginationInfo(int maxResults, int offset, int totalResults) Constructor -
Method Summary
-
Constructor Details
-
PaginationInfo
public PaginationInfo()Default constructor -
PaginationInfo
Constructor- Parameters:
maxResults- max results asked offoffset- offset of the first result itemtotalResults- The total number of results
-
-
Method Details
-
getMaxResults
- Returns:
- The max results of the original query
-
getOffset
- Returns:
- The offset specified by original query
-
getTotalResults
- Returns:
- The total number of results for this query.
-