public class PE2ngWorkflowAdaptor extends Object implements WorkflowEngineAdaptor
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.cache.Cache<String,String> |
planCache |
| Constructor and Description |
|---|
PE2ngWorkflowAdaptor(gr.uoa.di.madgik.workflow.adaptor.search.utils.wrappers.datasource.DataSourceWrapperFactoryConfig cfg,
gr.uoa.di.madgik.environment.hint.EnvHintCollection hints)
creates a new WorkflowEngine adaptor for PE2ng
|
PE2ngWorkflowAdaptor(gr.uoa.di.madgik.environment.hint.EnvHintCollection hints)
creates a new WorkflowEngine adaptor for PE2ng
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getExecutionPlan(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan)
create an execution plan for the search plan provided.
|
String |
getExecutionResult(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan)
execute a search plan and return a resultSet epr containing the final
outcome of the search operation.
|
String |
getExecutionResultSimple(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan) |
public PE2ngWorkflowAdaptor(gr.uoa.di.madgik.environment.hint.EnvHintCollection hints)
throws Exception
scope - - the working scope of the adaptorExceptionpublic PE2ngWorkflowAdaptor(gr.uoa.di.madgik.workflow.adaptor.search.utils.wrappers.datasource.DataSourceWrapperFactoryConfig cfg,
gr.uoa.di.madgik.environment.hint.EnvHintCollection hints)
throws Exception
cfg - - the configuration for the data source wrapper factoryscope - - the working scope of the adaptorExceptionpublic String getExecutionResultSimple(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan) throws Exception
Exceptionpublic String getExecutionResult(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan) throws Exception
WorkflowEngineAdaptorgetExecutionResult in interface WorkflowEngineAdaptorplan - - the search planException - in case of an error during the creation of the
Execution plan, or in case of an error during the executionpublic Object getExecutionPlan(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan) throws Exception
WorkflowEngineAdaptorgetExecutionPlan in interface WorkflowEngineAdaptorplan - - the search planException - in case of an error during the creation of the
Execution plan.Copyright © 2014. All Rights Reserved.