org.gcube.searchsystem.workflow
Interface WorkflowEngineAdaptor

All Known Implementing Classes:
PE2ngWorkflowAdaptor

public interface WorkflowEngineAdaptor

Classes that implement this interface are given a search plan and are able to create a plan for an execution engine. They can also execute the search plan, directly, and return a resultSet epr containing the final outcome of the search operation.

Author:
vasilis verroios

Method Summary
 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.
 

Method Detail

getExecutionResult

String getExecutionResult(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan)
                          throws Exception
execute a search plan and return a resultSet epr containing the final outcome of the search operation.

Parameters:
plan - - the search plan
Returns:
resultSet epr containing the final outcome of the search operation.
Throws:
Exception - in case of an error during the creation of the Execution plan, or in case of an error during the execution

getExecutionPlan

Object getExecutionPlan(gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan)
                        throws Exception
create an execution plan for the search plan provided.

Parameters:
plan - - the search plan
Returns:
the execution plan
Throws:
Exception - in case of an error during the creation of the Execution plan.


Copyright © 2013. All Rights Reserved.