| Constructor and Description |
|---|
OpenSearchWorker(OpenSearchResource resource,
ResourceRepository resources,
OpenSearchOpConfig config,
String terms,
Map<String,String> params,
String fixedTerms,
Map<String,String> fixedParams,
Set<String> queryNamespaces,
Object synchLocator)
Creates a new OpenSearchWorker
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getFinalResultCount() |
URI |
getLocator()
Returns the locator of the output
|
void |
run()
Performs the operations needed to obtain the requested search results.
|
public OpenSearchWorker(OpenSearchResource resource, ResourceRepository resources, OpenSearchOpConfig config, String terms, Map<String,String> params, String fixedTerms, Map<String,String> fixedParams, Set<String> queryNamespaces, Object synchLocator) throws Exception
resource - The OpenSearchResource associated with the provider that will be queried for resultsresources - A repository capable of retrieving OpenSearchResources on demandconfig - The configuration to be usedterms - The search terms to be used while querying the providerparams - The OpenSearch parameters that to be used while querying the providerfixedTerms - The pre-fixed terms to be used while querying the top-level brokerfixedParams - The pre-fixed parameters to be used while querying the top-level brokerqueryNamespaces - The namespaces present in the queryException - An error has ocurredpublic URI getLocator()
public Integer getFinalResultCount()
public void run()
Copyright © 2014. All Rights Reserved.