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.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. |
Modifier and Type | Field and Description |
---|---|
protected Source |
QueryBuilder.source |
Modifier and Type | Method and Description |
---|---|
Source |
Join.getLeft() |
Source |
Join.getRight() |
Source |
SelectQuery.getSource() |
Source |
Query.source()
Get the source for the results.
|
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.
|
Query(Source source)
Create a new query that uses the supplied source.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected Source |
JcrSqlQueryParser.parseFrom(TokenStream tokens,
TypeSystem typeSystem) |
protected Source |
BasicSqlQueryParser.parseFrom(TokenStream tokens,
TypeSystem typeSystem) |
protected Source |
JcrSqlQueryParser.rewrite(JcrSqlQueryParser.JoinableSources joinableSources) |
Modifier and Type | Method and Description |
---|---|
protected SelectorName |
JcrSqlQueryParser.getSelectorNameFor(Source source) |
protected Join |
BasicSqlQueryParser.join(Source left,
JoinType joinType,
Source right,
JoinCondition joinCondition) |
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 DynamicOperand |
BasicSqlQueryParser.parseDynamicOperand(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
protected List<Ordering> |
BasicSqlQueryParser.parseOrderBy(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
protected Ordering |
BasicSqlQueryParser.parseOrdering(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 PropertyValue |
BasicSqlQueryParser.parsePropertyValue(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
protected ReferenceValue |
BasicSqlQueryParser.parseReferenceValue(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
protected Constraint |
BasicSqlQueryParser.parseWhere(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
protected Query |
BasicSqlQueryParser.query(Source source,
Constraint constraint,
List<? extends Ordering> orderings,
List<? extends Column> columns,
Limit limit,
boolean distinct) |
Modifier and Type | Method and Description |
---|---|
protected PlanNode |
CanonicalPlanner.createPlanNode(QueryContext context,
Source source,
Map<SelectorName,Schemata.Table> usedSelectors)
Create a JOIN or SOURCE node that contain the source information.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.