|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.opensearch.opensearchoperator.OpenSearchWorker
public class OpenSearchWorker
Used to perform the actual OpenSearchOp operations needed to obtain results and to return the locator of the output
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
Integer |
getFinalResultCount()
|
URI |
getLocator()
Returns the locator of the output |
void |
run()
Performs the operations needed to obtain the requested search results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 query
Exception - An error has ocurred| Method Detail |
|---|
public URI getLocator()
public Integer getFinalResultCount()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||