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. |
Modifier and Type | Method and Description |
---|---|
protected QueryBuilder |
QueryBuilder.JoinClause.createJoin(JoinCondition condition) |
Modifier and Type | Method and Description |
---|---|
JoinCondition |
Join.getJoinCondition() |
Constructor and Description |
---|
Join(Source left,
JoinType type,
Source right,
JoinCondition joinCondition)
Create a join of the left and right sources, using the supplied join condition.
|
Modifier and Type | Method and Description |
---|---|
protected JoinCondition |
RewritePseudoColumns.rewrite(QueryContext context,
JoinCondition condition) |
Modifier and Type | Method and Description |
---|---|
protected void |
ChooseJoinAlgorithm.createOrderBysForJoinCondition(JoinCondition condition,
Set<SelectorName> leftSelectors,
List<Object> leftSortBy,
Set<SelectorName> rightSelectors,
List<Object> rightSortBy) |
protected JoinCondition |
RewritePseudoColumns.rewrite(QueryContext context,
JoinCondition condition) |
Modifier and Type | Method and Description |
---|---|
protected JoinCondition |
BasicSqlQueryParser.parseJoinCondition(TokenStream tokens,
TypeSystem typeSystem) |
Modifier and Type | Method and Description |
---|---|
protected Join |
BasicSqlQueryParser.join(Source left,
JoinType joinType,
Source right,
JoinCondition joinCondition) |
Modifier and Type | Method and Description |
---|---|
static JoinCondition |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
JoinCondition joinCondition,
Map<SelectorName,SelectorName> rewrittenSelectors) |
static JoinCondition |
PlanUtil.replaceViewReferences(QueryContext context,
JoinCondition joinCondition,
PlanUtil.ColumnMapping mapping,
PlanNode node) |
Modifier and Type | Method and Description |
---|---|
static JoinCondition |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
JoinCondition joinCondition,
Map<SelectorName,SelectorName> rewrittenSelectors) |
static JoinCondition |
PlanUtil.replaceViewReferences(QueryContext context,
JoinCondition joinCondition,
PlanUtil.ColumnMapping mapping,
PlanNode node) |
Modifier and Type | Method and Description |
---|---|
JoinCondition |
JoinComponent.getJoinCondition()
Get the join condition.
|
Modifier and Type | Method and Description |
---|---|
protected static Comparator<Object> |
JoinComponent.comparatorFor(QueryContext context,
ProcessingComponent left,
ProcessingComponent right,
JoinCondition condition)
Create a
Comparable that can be used to compare the values required to evaluate the supplied join condition. |
protected static JoinComponent.Joinable |
JoinComponent.joinableFor(ProcessingComponent left,
ProcessingComponent right,
JoinCondition condition)
Create a
JoinComponent.ValueSelector that obtains the value required to use the supplied join condition. |
protected static JoinComponent.ValueSelector |
JoinComponent.valueSelectorFor(ProcessingComponent source,
JoinCondition condition)
Create a
JoinComponent.ValueSelector that obtains the value required to use the supplied join condition. |
Constructor and Description |
---|
JoinComponent(QueryContext context,
ProcessingComponent left,
ProcessingComponent right,
JoinCondition condition,
JoinType joinType) |
NestedLoopJoinComponent(QueryContext context,
ProcessingComponent left,
ProcessingComponent right,
JoinCondition condition,
JoinType joinType) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.