Skip navigation links
ModeShape Distribution 5.0.0.Final

Package org.modeshape.jcr.query.plan

This package defines the Planner interface, the CanonicalPlanner implementation, and the PlanNode class that is used to represent a canonical query plan.

See: Description

Package org.modeshape.jcr.query.plan Description

This package defines the Planner interface, the CanonicalPlanner implementation, and the PlanNode class that is used to represent a canonical query plan.

The query plan is a tree of PlanNode objects that each represent a different aspect of the query, and is a form that is easily manipulated by subsequent stages. Any implementation of Planner can be used, though a CanonicalPlanner implementation is provided and will be sufficient for most cases. In fact, the subsequent execution steps often require the plan to be in its canonical form, so for most situations it may be best to simply reuse the CanonicalPlanner and in other simply extend it.

Note that query plans are mutable and not thread-safe, meaning that such plans are not intended to be shared or reused.

Skip navigation links
ModeShape Distribution 5.0.0.Final

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