## Uses of Interface
org.modeshape.jcr.spi.index.IndexCostCalculator

- Packages that use IndexCostCalculator
  Package | Description
  --- | ---
  org.modeshape.jcr.index.local |
  org.modeshape.jcr.query.engine | This package contains several fully-functional query engine implementations.
  org.modeshape.jcr.spi.index.provider | This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate how ModeShape updates and uses a set of particular indexes.

- - ### Uses of IndexCostCalculator in org.modeshape.jcr.index.local

    Methods in org.modeshape.jcr.index.local with parameters of type IndexCostCalculator
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | LocalIndexProvider.`planUseOfIndex(QueryContext context, IndexCostCalculator calculator, String workspaceName, ManagedIndex index, IndexDefinition defn)`

  - ### Uses of IndexCostCalculator in org.modeshape.jcr.query.engine

    Methods in org.modeshape.jcr.query.engine with parameters of type IndexCostCalculator
    Modifier and Type | Method and Description
    --- | ---
    `void` | IndexQueryEngine.ProviderIndexPlanner.`applyIndexes(QueryContext context, IndexCostCalculator calculator)`
    `abstract void` | IndexPlanners.`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.

  - ### Uses of IndexCostCalculator in org.modeshape.jcr.spi.index.provider

    Methods in org.modeshape.jcr.spi.index.provider with parameters of type IndexCostCalculator
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | IndexPlanner.`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.
    `protected abstract void` | IndexProvider.`planUseOfIndex(QueryContext context, IndexCostCalculator calculator, String workspaceName, ManagedIndex index, IndexDefinition defn)` The method that is called by the IndexProvider's `default IndexPlanner` for each managed index in the given workspace.

    Constructors in org.modeshape.jcr.spi.index.provider with parameters of type IndexCostCalculator
    Constructor and Description
    `IndexUsage(QueryContext context, IndexCostCalculator calculator, IndexDefinition defn)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.