Class LocalSearchPlanner
java.lang.Object
tools.refinery.interpreter.localsearch.planner.LocalSearchPlanner
- All Implemented Interfaces:
ILocalSearchPlanner
-
Constructor Summary
ConstructorsConstructorDescriptionLocalSearchPlanner
(IQueryBackendContext backendContext, IOperationCompiler compiler, org.apache.log4j.Logger logger, LocalSearchHints configuration, ResultProviderRequestor resultRequestor) -
Method Summary
Modifier and TypeMethodDescriptionplan
(PQuery querySpec, Set<PParameter> boundParameters) Creates executable plans for the provided query.
-
Constructor Details
-
LocalSearchPlanner
public LocalSearchPlanner(IQueryBackendContext backendContext, IOperationCompiler compiler, org.apache.log4j.Logger logger, LocalSearchHints configuration, ResultProviderRequestor resultRequestor) - Parameters:
resultRequestor
-- Since:
- 1.7
-
-
Method Details
-
plan
Creates executable plans for the provided query. It is required to call one of theinitializePlanner()
methods before calling this method.- Specified by:
plan
in interfaceILocalSearchPlanner
- Parameters:
querySpec
-boundParameters
- a set of bound parameters- Returns:
- a mapping between ISearchOperation list and a mapping, that holds a PVariable-Integer mapping for the list of ISearchOperations
-