Class EmptyPagingResults<R>

    • Constructor Detail

      • EmptyPagingResults

        public EmptyPagingResults()
    • Method Detail

      • getPage

        public List<R> getPage()
        Returns an empty page
        Specified by:
        getPage in interface PagingResults<R>
        Returns:
        the results - possibly empty but never null
      • hasMoreItems

        public boolean hasMoreItems()
        No more items remain
        Specified by:
        hasMoreItems in interface PagingResults<R>
        Returns:
        true if more items (eg. on next page)
        - true => at least one more page (or incomplete page - if cutoff)
        - false => last page (or incomplete page - if cutoff)
      • getTotalResultCount

        public Pair<Integer,​Integer> getTotalResultCount()
        There are no results
        Specified by:
        getTotalResultCount in interface PagingResults<R>
        Returns:
        Returns the total results as a range (all results, including the paged results returned)
      • getQueryExecutionId

        public String getQueryExecutionId()
        There is no unique query ID, as no query was done
        Specified by:
        getQueryExecutionId in interface PagingResults<R>
        Returns:
        a unique ID associated with the query execution results