Skip navigation links
ModeShape Distribution 5.0.0.Final

Package org.modeshape.jcr.query.optimize

This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules.

See: Description

Package org.modeshape.jcr.query.optimize Description

This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules. The Optimizer is responsible for evaluating, validating, and manipulating a canonical query plan to produce a more a single optimized query processing plan. The query plan is often changed in situ, although this is not required of the Optimizer implementations. A library of existing OptimizerRule classes is provided, though it's very easy to add more optimizer rules.

The RuleBasedOptimizer is an implementation that optimizes a query using a stack of rules. A new stack is created for each rule, though the rules are required to be immutable and thus often shared and reused. And, the RuleBasedOptimizer is easily subclassed to define a custom stack of rules.

Skip navigation links
ModeShape Distribution 5.0.0.Final

Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.