Package | Description |
---|---|
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
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.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
Modifier and Type | Field and Description |
---|---|
protected DynamicOperand |
QueryBuilder.ArithmeticBuilder.left |
protected DynamicOperand |
QueryBuilder.ComparisonBuilder.left |
Modifier and Type | Method and Description |
---|---|
protected QueryBuilder.OrderByBuilder |
QueryBuilder.SingleOrderByOperandBuilder.addOrdering(DynamicOperand operand) |
protected QueryBuilder.ComparisonBuilder |
QueryBuilder.ConstraintBuilder.comparisonBuilder(DynamicOperand operand) |
protected QueryBuilder.ComparisonBuilder |
QueryBuilder.ArithmeticBuilder.comparisonBuilder(DynamicOperand right) |
Constructor and Description |
---|
ArithmeticBuilder(ArithmeticOperator operator,
QueryBuilder.ComparisonBuilder comparisonBuilder,
DynamicOperand left,
QueryBuilder.ArithmeticBuilder parent) |
ComparisonBuilder(QueryBuilder.ConstraintBuilder constraintBuilder,
DynamicOperand left) |
Modifier and Type | Method and Description |
---|---|
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createExtractFromRow(DynamicOperand operand,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources,
TypeSystem.TypeFactory<?> defaultType,
boolean allowMultiValued,
boolean isLike)
Create a
RowExtractors.ExtractFromRow implementation that performs the supplied DynamicOperand against a current row in
the current batch. |
protected TypeSystem.TypeFactory<?> |
ScanningQueryEngine.determineType(DynamicOperand operand,
QueryContext context,
QueryResults.Columns columns) |
Modifier and Type | Method and Description |
---|---|
DynamicOperand |
ArithmeticOperand.getLeft() |
DynamicOperand |
UpperCase.getOperand() |
DynamicOperand |
SetCriteria.getOperand() |
DynamicOperand |
Ordering.getOperand() |
DynamicOperand |
LowerCase.getOperand() |
DynamicOperand |
Cast.getOperand()
Get the inner operand.
|
DynamicOperand |
Between.getOperand() |
DynamicOperand |
Comparison.getOperand1() |
DynamicOperand |
ArithmeticOperand.getRight() |
DynamicOperand |
SetCriteria.leftOperand()
Get the dynamic operand to which the set constraint applies
|
Constructor and Description |
---|
ArithmeticOperand(DynamicOperand left,
ArithmeticOperator operator,
DynamicOperand right)
Create a arithmetic dynamic operand that operates upon the supplied operand(s).
|
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.
|
Cast(DynamicOperand operand,
String desiredTypeName)
Creates a new operand instance, wrapping another operand and the desired type.
|
Comparison(DynamicOperand operand1,
Operator operator,
StaticOperand operand2) |
LowerCase(DynamicOperand operand)
Create a dynamic operand that evaluates to the lower-case representation of the supplied operand.
|
Ordering(DynamicOperand operand,
Order order,
NullOrder nullOrder)
Create a new ordering specification, given the supplied operand and order.
|
SetCriteria(DynamicOperand left,
Collection<? extends StaticOperand> setOperands) |
SetCriteria(DynamicOperand left,
StaticOperand... setOperands) |
UpperCase(DynamicOperand operand)
Create a dynamic operand that evaluates to the upper-case representation of the supplied operand.
|
Modifier and Type | Method and Description |
---|---|
protected DynamicOperand |
RewritePseudoColumns.rewrite(QueryContext context,
DynamicOperand operand) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RewritePathAndNameCriteria.isPathOriented(DynamicOperand op) |
protected DynamicOperand |
RewritePseudoColumns.rewrite(QueryContext context,
DynamicOperand operand) |
Modifier and Type | Method and Description |
---|---|
protected DynamicOperand |
BasicSqlQueryParser.parseDynamicOperand(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
Modifier and Type | Method and Description |
---|---|
protected ArithmeticOperand |
BasicSqlQueryParser.arithmeticOperand(DynamicOperand leftOperand,
ArithmeticOperator operator,
DynamicOperand rightOperand) |
protected Between |
BasicSqlQueryParser.between(DynamicOperand operand,
StaticOperand lowerBound,
StaticOperand upperBound,
boolean lowerInclusive,
boolean upperInclusive) |
protected Cast |
BasicSqlQueryParser.cast(DynamicOperand operand,
String desiredType) |
protected Comparison |
BasicSqlQueryParser.comparison(DynamicOperand left,
Operator operator,
StaticOperand right) |
protected LowerCase |
BasicSqlQueryParser.lowerCase(DynamicOperand operand) |
protected Ordering |
BasicSqlQueryParser.ordering(DynamicOperand operand,
Order order,
NullOrder nullOrder) |
protected SetCriteria |
BasicSqlQueryParser.setCriteria(DynamicOperand operand,
Collection<? extends StaticOperand> values) |
protected UpperCase |
BasicSqlQueryParser.upperCase(DynamicOperand operand) |
Modifier and Type | Method and Description |
---|---|
static DynamicOperand |
PlanUtil.replaceAliasesWithProperties(QueryContext context,
DynamicOperand operand,
Map<String,String> propertyByAlias) |
static DynamicOperand |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
DynamicOperand operand,
Map<SelectorName,SelectorName> rewrittenSelectors) |
static DynamicOperand |
PlanUtil.replaceViewReferences(QueryContext context,
DynamicOperand operand,
PlanUtil.ColumnMapping mapping,
PlanNode node) |
Modifier and Type | Method and Description |
---|---|
static DynamicOperand |
PlanUtil.replaceAliasesWithProperties(QueryContext context,
DynamicOperand operand,
Map<String,String> propertyByAlias) |
static DynamicOperand |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
DynamicOperand operand,
Map<SelectorName,SelectorName> rewrittenSelectors) |
static DynamicOperand |
PlanUtil.replaceViewReferences(QueryContext context,
DynamicOperand operand,
PlanUtil.ColumnMapping mapping,
PlanNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
Validator.verifyArithmeticOperand(DynamicOperand operand) |
protected void |
Validator.verifyComparison(DynamicOperand operand,
Operator op,
StaticOperand rhs) |
protected void |
Validator.verifyOrdering(DynamicOperand operand) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.