protected static class IndexQueryEngine.ProviderIndexPlanner extends IndexPlanner
IndexPlanner
implementation that passes through only those indexes that are owned by the named provider.Modifier and Type | Field and Description |
---|---|
protected String |
providerName |
Modifier | Constructor and Description |
---|---|
protected |
ProviderIndexPlanner(String providerName,
IndexPlanner providerPlanner) |
Modifier and Type | Method and Description |
---|---|
void |
applyIndexes(QueryContext context,
IndexCostCalculator calculator)
Examine the supplied constraints applied to the given selector in a query, and record in the supplied
IndexCostCalculator any and all indexes in this provider that can be used in this query. |
String |
toString() |
both
protected final String providerName
protected ProviderIndexPlanner(String providerName, IndexPlanner providerPlanner)
public void applyIndexes(QueryContext context, IndexCostCalculator calculator)
IndexPlanner
IndexCostCalculator
any and all indexes in this provider that can be used in this query.applyIndexes
in class IndexPlanner
context
- the context in which the query is being executed, provided by ModeShape; never nullcalculator
- the cost calculator that this method can use to find information about the query and to record
information about the index(es), if any, that the query engine might use to satisfy the relevant portion of the
query; never nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.