Class AbstractSearchResult<T>

    • Field Detail

      • count

        protected Long count
        The total number of results (when no pager would have been applied)
      • result

        protected List<T> result
    • Constructor Detail

      • AbstractSearchResult

        public AbstractSearchResult()
      • AbstractSearchResult

        protected AbstractSearchResult​(Long count,
                                       List<T> result)
    • Method Detail

      • setResult

        public final void setResult​(List<T> l)
      • stream

        public Stream<T> stream()
        Since:
        7.2
      • getCount

        public Long getCount()
        The total number of results (when no pager would have been applied)
        Specified by:
        getCount in interface SearchResult<T>
      • setCount

        public void setCount​(Long count)
        The total number of results (when no pager would have been applied)