|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.textextraction.TextExtractionJobController
public class TextExtractionJobController
OpenSearchService implements the functionality needed to query a collection using the OpenSearchOp
OpenSearch operator
Each TextExtractionJobControllerResource
of this stateful service associates a collection with an OpenSearch provider, which
is described by an OpenSearchResource
generic resource.
While querying, all generic resources and description documents retrieved are stored in a cache contained in each TextExtractionJobControllerResource
The cache can be refreshed either on demand or periodically, or both ways to allow the service to update its state in the event of generic resource update
or modifications in the description documents of providers.
The cache purging time interval as well as whether the service should clear the cache on startup are configurable parameters
Constructor Summary | |
---|---|
TextExtractionJobController()
Constructor - sets up some variables and creates a logging instance |
Method Summary | |
---|---|
CancelResponse |
cancel(Cancel cancel)
Performs a query on the OpenSearch provider associated with the WS resource used and described by the corresponding generic resource |
static void |
ready()
|
StartResponse |
start(Start start)
Performs a query on the OpenSearch provider associated with the WS resource used and described by the corresponding generic resource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextExtractionJobController() throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
---|
public StartResponse start(Start start) throws java.rmi.RemoteException
queryString
- String
- the query to be performed (using the query syntax of the OpenSearch operator -
space separated <(URLEncodedParameterNamespace|config):parameterName> strings)
String
- representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
- In case of errorpublic CancelResponse cancel(Cancel cancel) throws java.rmi.RemoteException
queryString
- String
- the query to be performed (using the query syntax of the OpenSearch operator -
space separated <(URLEncodedParameterNamespace|config):parameterName> strings)
String
- representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
- In case of errorpublic static void ready()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |