Interface SearchResult<E>

  • All Known Implementing Classes:
    SQLSearchResult, StandardSearchResult

    public interface SearchResult<E>
    Returned by search methods. It contains the result collection and further informations about the search (number of hits e.g.)
    • Method Detail

      • getCount

        int getCount()
        Gets the size of result collection with respect to specified range.
      • getTotalCount

        int getTotalCount()
        Gets overall count of search result without paying respect to specified search range. Result collection size will be lower or same.
      • getResult

        java.util.List<E> getResult()
        Gets the search result. Returned collection uses lazy translation approach, on first access on an collection element the element will be translated to an item. In case the item was removed between gathering of search result and translation of specific element the returned collection will have a null value at this position.
      • getRequestedStart

        int getRequestedStart()
        Gets specified start index.
      • getRequestedCount

        int getRequestedCount()
        Gets specified result count.