Class SelectorExecutionPlan
- java.lang.Object
-
- org.apache.jackrabbit.oak.query.plan.SelectorExecutionPlan
-
- All Implemented Interfaces:
ExecutionPlan
public class SelectorExecutionPlan extends Object implements ExecutionPlan
An execution plan for one selector in a query. The conditions of the given selectors are compiled into a filter, and the execution plan for the selector is to use a certain query index, which will result in an estimated cost to use that index to retrieve nodes for this index.
-
-
Constructor Summary
Constructors Constructor Description SelectorExecutionPlan(SelectorImpl selector, QueryIndex index, QueryIndex.IndexPlan plan, double estimatedCost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetEstimatedCost()QueryIndexgetIndex()QueryIndex.IndexPlangetIndexPlan()StringgetIndexPlanName()Get the index name, or index type (may not always be the exact index name).SelectorImplgetSelector()
-
-
-
Constructor Detail
-
SelectorExecutionPlan
public SelectorExecutionPlan(SelectorImpl selector, QueryIndex index, QueryIndex.IndexPlan plan, double estimatedCost)
-
-
Method Detail
-
getEstimatedCost
public double getEstimatedCost()
- Specified by:
getEstimatedCostin interfaceExecutionPlan
-
getSelector
public SelectorImpl getSelector()
-
getIndex
public QueryIndex getIndex()
-
getIndexPlan
public QueryIndex.IndexPlan getIndexPlan()
-
getIndexPlanName
public String getIndexPlanName()
Get the index name, or index type (may not always be the exact index name).- Returns:
- the name
-
-