org.gcube.searchsystem.planning
Interface Planner

All Known Implementing Classes:
MaxSubtreePlanner

public interface Planner

Classes that implement this interface, create a plan that will be used as input by the workflow layer

Author:
vasilis verroios - DI NKUA

Method Summary
 gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan(search.library.util.cql.query.tree.GCQLNode root)
          Receives the root of a CQL tree, creates a plan for the workflow layer, and returns the root of this plan
 

Method Detail

plan

gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode plan(search.library.util.cql.query.tree.GCQLNode root)
                                                                        throws CQLTreeSyntaxException,
                                                                               CQLUnsupportedException
Receives the root of a CQL tree, creates a plan for the workflow layer, and returns the root of this plan

Parameters:
root - - the CQL tree root
Returns:
the root of the plan for the workflow layer
Throws:
CQLTreeSyntaxException - - when the input tree is not in a valid state (this case is possible when a chain of proprocessors is applied sequentially, before planning)
CQLUnsupportedException