Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.modeshape.jcr.query.model.Constraint

Packages that use Constraint
org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
org.modeshape.jcr.query.lucene | The core query engine, which currently uses Lucene for indexing and raw queries, and the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA) for updating and querying the Lucene indexes.
org.modeshape.jcr.query.lucene.basic | The "basic" `Lucene schema` has a single index in which all node and property information are indexed into separate fields.
org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
org.modeshape.jcr.query.optimize | This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules.
org.modeshape.jcr.query.parse | This package defines the `QueryParser` interface, which defines a component that can parse a query represented in a specific language and produce the corresponding `abstract query model` representation.
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.
org.modeshape.jcr.query.process | This package defines the `QueryProcessor` interface, which is responsible for constructing for each query a tree of `ProcessingComponent` objects that each are responsible for processing a specific aspect of the query and returning the tuples to the parent component.

Uses of Constraint in org.modeshape.jcr.query

Fields in org.modeshape.jcr.query declared as Constraint
`protected Constraint` | `QueryBuilder.constraint`

Methods in org.modeshape.jcr.query with parameters of type Constraint
`protected QueryBuilder.ConstraintBuilder` | `QueryBuilder.ConstraintBuilder.setConstraint(Constraint constraint)`
`protected QueryBuilder.ConstraintBuilder` | `QueryBuilder.UpperCaser.setConstraint(Constraint constraint)`
`protected QueryBuilder.ConstraintBuilder` | `QueryBuilder.LowerCaser.setConstraint(Constraint constraint)`

Uses of Constraint in org.modeshape.jcr.query.lucene

Methods in org.modeshape.jcr.query.lucene that return Constraint
`Constraint` | `LuceneQuery.getPostProcessingConstraints()` Get the ANDed-constraints that could not be pushed down to Lucene.

Methods in org.modeshape.jcr.query.lucene with parameters of type Constraint
`void` | `LuceneQuery.addConstraintForPostprocessing(Constraint constraint)` Record one of the ANDed constraints could not be converted into a Lucene query and thus will need to be handled after the Lucene processing is done.

Method parameters in org.modeshape.jcr.query.lucene with type arguments of type Constraint
`LuceneQuery` | `LuceneSchema.createQuery(SelectorName selectorName, List<Constraint> andedConstraints, LuceneProcessingContext context)` Create a `LuceneQuery` for the supplied ANDed constraints of the ModeShape access query, which comes from the leaves of a query plan.

Uses of Constraint in org.modeshape.jcr.query.lucene.basic

Method parameters in org.modeshape.jcr.query.lucene.basic with type arguments of type Constraint
`LuceneQuery` | `BasicLuceneSchema.createQuery(SelectorName selectorName, List<Constraint> andedConstraints, LuceneProcessingContext processingContext)`

Uses of Constraint in org.modeshape.jcr.query.model

Methods in org.modeshape.jcr.query.model that return Constraint
`Constraint` | `Query.constraint()` Get the constraints, if there are any.
`Constraint` | `SelectQuery.getConstraint()`
`Constraint` | `Not.getConstraint()`
`Constraint` | `Or.getConstraint1()`
`Constraint` | `And.getConstraint1()`
`Constraint` | `Or.getConstraint2()`
`Constraint` | `And.getConstraint2()`
`Constraint` | `Or.left()` Get the left-hand constraint.
`Constraint` | `And.left()` Get the constraint that is on the left-hand-side of the AND operation.
`Constraint` | `Or.right()` Get the right-hand constraint.
`Constraint` | `And.right()` Get the constraint that is on the right-hand-side of the AND operation.

Methods in org.modeshape.jcr.query.model with parameters of type Constraint
`Query` | `Query.constrainedBy(Constraint constraint)` Create a copy of this query, but one that uses the supplied constraint.

Constructors in org.modeshape.jcr.query.model with parameters of type Constraint
`And(Constraint left, Constraint right)`
`Not(Constraint constraint)` Create a constraint that negates another constraint.
`Or(Constraint left, Constraint right)` Create a constraint that evaluates to true if either of the two supplied constraints evaluates to true.
`Query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
`SelectQuery(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.

Uses of Constraint in org.modeshape.jcr.query.optimize

Fields in org.modeshape.jcr.query.optimize declared as Constraint
`protected static Constraint` | `RewriteAsRangeCriteria.CONFLICTING_CONSTRAINT`

Methods in org.modeshape.jcr.query.optimize that return Constraint
`protected Constraint` | `RewritePseudoColumns.rewrite(QueryContext context, Constraint constraint)`
`protected Constraint` | `RewriteAsRangeCriteria.rewrite(QueryContext context, List<Comparison> comparisons)` Rewrite the supplied comparisons, returning the new constraint and nulling in the supplied list those comparisons that were rewritten (and leaving those that were not rewritten)
`protected Constraint` | `RewritePathAndNameCriteria.rewriteCriteria(QueryContext context, Constraint constraint)`

Methods in org.modeshape.jcr.query.optimize with parameters of type Constraint
`protected Constraint` | `RewritePseudoColumns.rewrite(QueryContext context, Constraint constraint)`
`protected Constraint` | `RewritePathAndNameCriteria.rewriteCriteria(QueryContext context, Constraint constraint)`

Uses of Constraint in org.modeshape.jcr.query.parse

Methods in org.modeshape.jcr.query.parse that return Constraint
`protected Constraint` | `JcrSqlQueryParser.parseConstraint(TokenStream tokens, TypeSystem typeSystem, Source source)` Parse a constraint clause.
`protected Constraint` | `BasicSqlQueryParser.parseConstraint(TokenStream tokens, TypeSystem typeSystem, Source source)`
`protected Constraint` | `JcrSqlQueryParser.parsePropertyExistance(TokenStream tokens, TypeSystem typeSystem, Source source)`
`protected Constraint` | `BasicSqlQueryParser.parsePropertyExistance(TokenStream tokens, TypeSystem typeSystem, Source source)`
`protected Constraint` | `BasicSqlQueryParser.parseWhere(TokenStream tokens, TypeSystem typeSystem, Source source)`
`protected Constraint` | `JcrSqlQueryParser.rewriteConstraint(Constraint constraint)`

Methods in org.modeshape.jcr.query.parse with parameters of type Constraint
`protected And` | `BasicSqlQueryParser.and(Constraint constraint1, Constraint constraint2)`
`protected Not` | `BasicSqlQueryParser.not(Constraint constraint)`
`protected Or` | `BasicSqlQueryParser.or(Constraint constraint1, Constraint constraint2)`
`protected Query` | `BasicSqlQueryParser.query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean distinct)`
`protected Constraint` | `JcrSqlQueryParser.rewriteConstraint(Constraint constraint)`

Uses of Constraint in org.modeshape.jcr.query.plan

Methods in org.modeshape.jcr.query.plan that return Constraint
`static Constraint` | `PlanUtil.replaceAliasesWithProperties(QueryContext context, Constraint constraint, Map<String,String> propertyByAlias)`
`static Constraint` | `PlanUtil.replaceReferences(QueryContext context, Constraint constraint, PlanUtil.ColumnMapping mapping, PlanNode node)`
`static Constraint` | `PlanUtil.replaceReferencesToRemovedSource(QueryContext context, Constraint constraint, Map<SelectorName,SelectorName> rewrittenSelectors)`
`static Constraint` | `PlanUtil.replaceSubqueriesWithBindVariables(QueryContext context, Constraint constraint, Map<String,Subquery> subqueriesByVariableName)`

Methods in org.modeshape.jcr.query.plan with parameters of type Constraint
`protected PlanNode` | `CanonicalPlanner.attachCriteria(QueryContext context, PlanNode plan, Constraint constraint, List<? extends Column> columns, Map<String,Subquery> subqueriesByVariableName)` Attach all criteria above the join nodes.
`static Constraint` | `PlanUtil.replaceAliasesWithProperties(QueryContext context, Constraint constraint, Map<String,String> propertyByAlias)`
`static Constraint` | `PlanUtil.replaceReferences(QueryContext context, Constraint constraint, PlanUtil.ColumnMapping mapping, PlanNode node)`
`static Constraint` | `PlanUtil.replaceReferencesToRemovedSource(QueryContext context, Constraint constraint, Map<SelectorName,SelectorName> rewrittenSelectors)`
`static Constraint` | `PlanUtil.replaceSubqueriesWithBindVariables(QueryContext context, Constraint constraint, Map<String,Subquery> subqueriesByVariableName)`
`protected void` | `CanonicalPlanner.separateAndConstraints(Constraint constraint, List<Constraint> andableConstraints)` Walk the supplied constraint to extract a list of the constraints that can be AND-ed together.

Method parameters in org.modeshape.jcr.query.plan with type arguments of type Constraint
`protected void` | `CanonicalPlanner.separateAndConstraints(Constraint constraint, List<Constraint> andableConstraints)` Walk the supplied constraint to extract a list of the constraints that can be AND-ed together.

Uses of Constraint in org.modeshape.jcr.query.process

Fields in org.modeshape.jcr.query.process with type parameters of type Constraint
`protected List<Constraint>` | `AbstractAccessComponent.andedConstraints`

Methods in org.modeshape.jcr.query.process with parameters of type Constraint
`protected SelectComponent.ConstraintChecker` | `SelectComponent.createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, Constraint constraint, Map<String,Object> variables)` Create the constraint evaluator that is used by the `SelectComponent` to evaluate the supplied `criteria`.
`static boolean` | `QueryResultColumns.includeFullTextScores(Constraint constraint)`

Method parameters in org.modeshape.jcr.query.process with type arguments of type Constraint
`static boolean` | `QueryResultColumns.includeFullTextScores(Iterable<Constraint> constraints)`

Constructors in org.modeshape.jcr.query.process with parameters of type Constraint
`SelectComponent(ProcessingComponent delegate, Constraint constraint, Map<String,Object> variables)` Create a SELECT processing component that pass those tuples that satisfy the supplied constraint.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV NEXT | FRAMES NO FRAMES

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