|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.searchsystem.planning.Orchestrator
public class Orchestrator
This class is the entrypoint for answering CQL queries. It triggers the preprocessing, planning and execution for answering a CQL query. The outcome provided by this class is the ResultSet EPR containing the final outcome, and the warnings produced during the whole search process.
Constructor Summary | |
---|---|
Orchestrator()
|
Method Summary | |
---|---|
java.util.ArrayList<Preprocessor> |
getPreprocessors()
getter for the list of processors to apply before planning |
java.util.ArrayList<java.lang.String> |
getPriorities()
getter for the list of priorities for the planning stage |
java.util.ArrayList<java.lang.String> |
getWarnings()
getter for the list of warnings for the last search |
java.lang.String |
search(java.lang.String cqlQuery,
EnvironmentAdaptor environmentAdaptor,
WorkflowEngineAdaptor workflowAdaptor,
PlanCache pCache)
receives a GCQL query and returns a ResultSet EPR containing the results |
void |
setPreprocessors(java.util.ArrayList<Preprocessor> preprocessors)
setter for the list of processors to apply before planning |
void |
setPriorities(java.util.ArrayList<java.lang.String> priorities)
setter for the list of priorities for the planning stage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Orchestrator()
Method Detail |
---|
public java.lang.String search(java.lang.String cqlQuery, EnvironmentAdaptor environmentAdaptor, WorkflowEngineAdaptor workflowAdaptor, PlanCache pCache) throws java.lang.Exception
GCQL
- queryenvironmentAdaptor
- - the adaptor for the environment of this search operationworkflowAdaptor
- - the adaptor for the workflow engine used for this search operation
java.lang.Exception
public void setPreprocessors(java.util.ArrayList<Preprocessor> preprocessors)
preprocessors
- public java.util.ArrayList<Preprocessor> getPreprocessors()
preprocessors
- public java.util.ArrayList<java.lang.String> getPriorities()
public void setPriorities(java.util.ArrayList<java.lang.String> priorities)
priorities
- public java.util.ArrayList<java.lang.String> getWarnings()
warnings
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |