Class PaginationInfo

    • Constructor Detail

      • PaginationInfo

        public PaginationInfo​(int maxResults,
                              int offset,
                              int totalResults)
        Constructor
        Parameters:
        maxResults - max results asked off
        offset - offset of the first result item
        totalResults - The total number of results
    • Method Detail

      • getMaxResults

        public int getMaxResults()
        Returns:
        The max results of the original query
      • getOffset

        public int getOffset()
        Returns:
        The offset specified by original query
      • getTotalResults

        public int getTotalResults()
        Returns:
        The total number of results for this query.