public class LocalSearchPlanner
extends java.lang.Object
Constructor and Description |
---|
LocalSearchPlanner() |
Modifier and Type | Method and Description |
---|---|
PDisjunction |
getFlatDisjunction() |
PDisjunction |
getNormalizedDisjunction() |
java.util.List<SubPlan> |
getPlansForBodies() |
void |
initializePlanner(PQueryFlattener pQueryFlattener,
org.apache.log4j.Logger logger,
IQueryMetaContext metaContext,
IQueryRuntimeContext runtimeContext,
PBodyNormalizer pBodyNormalizer,
LocalSearchRuntimeBasedStrategy localSearchPlannerStrategy,
POperationCompiler pOperationCompiler,
java.util.Map<java.lang.String,java.lang.Object> hints) |
java.util.Map<java.util.List<ISearchOperation>,java.util.Map<PVariable,java.lang.Integer>> |
plan(PQuery querySpec,
java.util.Set<java.lang.Integer> boundVarIndices)
Creates executable plans for the provided query.
|
public PDisjunction getFlatDisjunction()
public PDisjunction getNormalizedDisjunction()
public java.util.List<SubPlan> getPlansForBodies()
public void initializePlanner(PQueryFlattener pQueryFlattener, org.apache.log4j.Logger logger, IQueryMetaContext metaContext, IQueryRuntimeContext runtimeContext, PBodyNormalizer pBodyNormalizer, LocalSearchRuntimeBasedStrategy localSearchPlannerStrategy, POperationCompiler pOperationCompiler, java.util.Map<java.lang.String,java.lang.Object> hints)
public java.util.Map<java.util.List<ISearchOperation>,java.util.Map<PVariable,java.lang.Integer>> plan(PQuery querySpec, java.util.Set<java.lang.Integer> boundVarIndices) throws QueryProcessingException
initializePlanner()
methods before calling this method.querySpec
- boundVarIndices
- a set of integers representing the variables that are boundQueryProcessingException