Class SearchRequest

  • All Implemented Interfaces:
    java.lang.Comparable<SearchRequest>

    public class SearchRequest
    extends java.lang.Object
    implements java.lang.Comparable<SearchRequest>
    A search request, which is one or more SearchQuerys.
    • Constructor Detail

      • SearchRequest

        public SearchRequest()
        Construct a new SearchRequest.
    • Method Detail

      • addQuery

        public void addQuery​(SearchQuery query)
        Add another query to this request.
        Parameters:
        query - the query to add
      • getQueries

        public java.util.List<SearchQuery> getQueries()
        Returns:
        The list of queries that are part of this request.
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • compareTo

        public int compareTo​(SearchRequest that)
        Specified by:
        compareTo in interface java.lang.Comparable<SearchRequest>