Class SearchOperationWorker

    • Constructor Detail

      • SearchOperationWorker

        public SearchOperationWorker()
        Default constructor.
      • SearchOperationWorker

        public SearchOperationWorker​(SearchOperation op)
        Creates a new search operation worker.
        Parameters:
        op - search operation to execute
    • Method Detail

      • execute

        public Collection<SearchResponse> execute​(String... filters)
        Performs search operations for the supplied filters.
        Parameters:
        filters - to search with
        Returns:
        search results
      • execute

        public Collection<SearchResponse> execute​(FilterTemplate... templates)
        Performs search operations for the supplied filters.
        Parameters:
        templates - to search with
        Returns:
        search results
      • execute

        public Collection<SearchResponse> execute​(String[] filters,
                                                  String... attrs)
        Performs search operations for the supplied filters with the supplied return attributes
        Parameters:
        filters - to search with
        attrs - attributes to return
        Returns:
        search results
      • execute

        public Collection<SearchResponse> execute​(FilterTemplate[] templates,
                                                  String... attrs)
        Performs search operations for the supplied filters with the supplied return attributes
        Parameters:
        templates - to search with
        attrs - attributes to return
        Returns:
        search results