Package | Description |
---|---|
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
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. |
org.modeshape.jcr.query.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
Modifier and Type | Field and Description |
---|---|
protected StaticOperand |
QueryBuilder.UpperBoundary.lowerBound |
Modifier and Type | Method and Description |
---|---|
protected StaticOperand |
QueryBuilder.ComparisonBuilder.adapt(Object literalOrSubquery) |
Constructor and Description |
---|
QueryBuilder.UpperBoundary(QueryBuilder.ComparisonBuilder comparisonBuilder,
StaticOperand lowerBound) |
Modifier and Type | Method and Description |
---|---|
StaticOperand |
FullTextSearch.getFullTextSearchExpression() |
StaticOperand |
Between.getLowerBound() |
StaticOperand |
Relike.getOperand1() |
StaticOperand |
Comparison.getOperand2() |
StaticOperand |
Between.getUpperBound() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends StaticOperand> |
SetCriteria.rightOperands()
Get the collection of static operands defining the constrained values.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
FullTextSearch.toString(StaticOperand operand) |
Constructor and Description |
---|
Between(DynamicOperand operand,
StaticOperand lowerBound,
StaticOperand upperBound)
Create a constraint that the values of the supplied dynamic operand are between the lower and upper bounds (inclusive).
|
Between(DynamicOperand operand,
StaticOperand lowerBound,
StaticOperand upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
Create a constraint that the values of the supplied dynamic operand are between the lower and upper bounds, specifying
whether the boundary values are to be included in the range.
|
Comparison(DynamicOperand operand1,
Operator operator,
StaticOperand operand2) |
FullTextSearch(SelectorName selectorName,
String propertyName,
StaticOperand fullTextSearchExpression,
FullTextSearch.Term term)
Create a constraint defining a full-text search against the property values on node within the search scope.
|
FullTextSearch(SelectorName selectorName,
String propertyName,
String expressionString,
StaticOperand fullTextSearchExpression)
Create a constraint defining a full-text search against the property values on node within the search scope.
|
Relike(StaticOperand operand1,
PropertyValue operand2) |
SetCriteria(DynamicOperand left,
StaticOperand... setOperands) |
Constructor and Description |
---|
SetCriteria(DynamicOperand left,
Collection<? extends StaticOperand> setOperands) |
Modifier and Type | Method and Description |
---|---|
protected Object |
RewriteAsRangeCriteria.getValue(QueryContext context,
StaticOperand operand)
Get the value associated with the static operand of the comparison.
|
Modifier and Type | Method and Description |
---|---|
protected StaticOperand |
BasicSqlQueryParser.parseStaticOperand(TokenStream tokens,
TypeSystem typeSystem) |
Modifier and Type | Method and Description |
---|---|
protected List<StaticOperand> |
BasicSqlQueryParser.parseInClause(TokenStream tokens,
TypeSystem typeSystem) |
Modifier and Type | Method and Description |
---|---|
protected Between |
BasicSqlQueryParser.between(DynamicOperand operand,
StaticOperand lowerBound,
StaticOperand upperBound,
boolean lowerInclusive,
boolean upperInclusive) |
protected Comparison |
BasicSqlQueryParser.comparison(DynamicOperand left,
Operator operator,
StaticOperand right) |
protected FullTextSearch |
BasicSqlQueryParser.fullTextSearch(SelectorName name,
String propertyName,
StaticOperand expression) |
Modifier and Type | Method and Description |
---|---|
protected SetCriteria |
BasicSqlQueryParser.setCriteria(DynamicOperand operand,
Collection<? extends StaticOperand> values) |
Modifier and Type | Method and Description |
---|---|
static StaticOperand |
PlanUtil.replaceSubqueriesWithBindVariables(QueryContext context,
StaticOperand staticOperand,
Map<String,Subquery> subqueriesByVariableName) |
Modifier and Type | Method and Description |
---|---|
static StaticOperand |
PlanUtil.replaceSubqueriesWithBindVariables(QueryContext context,
StaticOperand staticOperand,
Map<String,Subquery> subqueriesByVariableName) |
Modifier and Type | Method and Description |
---|---|
protected SelectComponent.ConstraintChecker |
SelectComponent.createChecker(TypeSystem types,
Schemata schemata,
QueryResults.Columns columns,
ProcessingComponent.DynamicOperation dynamicOperation,
Operator operator,
StaticOperand staticOperand) |
Modifier and Type | Method and Description |
---|---|
protected void |
Validator.verifyComparison(DynamicOperand operand,
Operator op,
StaticOperand rhs) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.