Package | Description |
---|---|
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.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
Modifier and Type | Method and Description |
---|---|
Comparison |
QueryObjectModelFactory.comparison(DynamicOperand operand1,
String operator,
StaticOperand operand2) |
Modifier and Type | Method and Description |
---|---|
void |
Visitors.AbstractVisitor.visit(Comparison obj) |
void |
Visitors.WalkAllVisitor.visit(Comparison comparison) |
void |
Visitors.ReadableVisitor.visit(Comparison comparison) |
void |
Visitor.visit(Comparison obj) |
Modifier and Type | Method and Description |
---|---|
protected Comparison |
RewriteAsRangeCriteria.getComparison(QueryContext context,
Comparison comparison1,
Comparison comparison2,
boolean smallest)
Get the comparison with the smallest (or largest) value.
|
Modifier and Type | Method and Description |
---|---|
protected int |
RewriteAsRangeCriteria.compareStaticOperands(QueryContext context,
Comparison comparison1,
Comparison comparison2)
Compare the values used in the two comparisons
|
protected Comparison |
RewriteAsRangeCriteria.getComparison(QueryContext context,
Comparison comparison1,
Comparison comparison2,
boolean smallest)
Get the comparison with the smallest (or largest) value.
|
protected void |
RewriteAsRangeCriteria.nullReference(List<Comparison> comparisons,
Comparison comparisonToNull)
Find all occurrences of the comparison object in the supplied list and null the list's reference to it.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RewriteAsRangeCriteria.nullReference(List<Comparison> comparisons,
Comparison comparisonToNull)
Find all occurrences of the comparison object in the supplied list and null the list's reference to it.
|
protected void |
RewriteAsRangeCriteria.nullReference(List<Comparison> comparisons,
Iterable<Comparison> comparisonsToNull)
Find all references in the supplied list that match those supplied and set them to null.
|
protected void |
RewriteAsRangeCriteria.nullReference(List<Comparison> comparisons,
Iterable<Comparison> comparisonsToNull)
Find all references in the supplied list that match those supplied and set them to null.
|
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)
|
Modifier and Type | Method and Description |
---|---|
protected Comparison |
BasicSqlQueryParser.comparison(DynamicOperand left,
Operator operator,
StaticOperand right) |
Modifier and Type | Method and Description |
---|---|
void |
Validator.visit(Comparison obj) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.