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. |
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 List<Ordering> |
QueryBuilder.orderings |
Modifier and Type | Method and Description |
---|---|
Ordering |
QueryObjectModelFactory.ascending(DynamicOperand operand) |
Ordering |
QueryObjectModelFactory.descending(DynamicOperand operand) |
Ordering[] |
SetQuery.getOrderings() |
Modifier and Type | Method and Description |
---|---|
List<? extends Ordering> |
SetQuery.orderings() |
List<? extends Ordering> |
QueryCommand.orderings()
Return the orderings for this query.
|
List<? extends Ordering> |
Query.orderings() |
Modifier and Type | Method and Description |
---|---|
SetQuery |
SetQuery.adding(Ordering... orderings) |
Query |
Query.adding(Ordering... orderings)
Create a copy of this query, but that returns results that are ordered by the
orderings of this column
as well as those supplied. |
void |
Visitors.AbstractVisitor.visit(Ordering obj) |
void |
Visitors.WalkAllVisitor.visit(Ordering ordering) |
void |
Visitors.ReadableVisitor.visit(Ordering ordering) |
void |
Visitor.visit(Ordering obj) |
Modifier and Type | Method and Description |
---|---|
Query |
Query.orderedBy(List<Ordering> orderings)
Create a copy of this query, but one whose results should be ordered by the supplied orderings.
|
Constructor and Description |
---|
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.
|
SetQuery(QueryCommand left,
SetQuery.Operation operation,
QueryCommand right,
boolean all,
List<? extends Ordering> orderings,
Limit limit)
Create a set query involving the supplied left- and right-hand-side queries.
|
Modifier and Type | Method and Description |
---|---|
protected Ordering |
BasicSqlQueryParser.ordering(DynamicOperand operand,
Order order) |
protected Ordering |
BasicSqlQueryParser.parseOrdering(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
Modifier and Type | Method and Description |
---|---|
protected List<Ordering> |
BasicSqlQueryParser.parseOrderBy(TokenStream tokens,
TypeSystem typeSystem,
Source source) |
Modifier and Type | Method and Description |
---|---|
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.attachSorting(QueryContext context,
PlanNode plan,
List<? extends Ordering> orderings)
Attach SORT node at top of tree.
|
Modifier and Type | Method and Description |
---|---|
protected Comparator<Object[]> |
SortValuesComponent.createSortComparator(QueryContext context,
QueryResults.Columns columns,
Ordering ordering,
Map<SelectorName,SelectorName> sourceNamesByAlias) |
Modifier and Type | Method and Description |
---|---|
protected Comparator<Object[]> |
SortValuesComponent.createSortComparator(QueryContext context,
QueryResults.Columns columns,
List<Ordering> orderings,
Map<SelectorName,SelectorName> sourceNamesByAlias) |
Constructor and Description |
---|
SortValuesComponent(ProcessingComponent delegate,
List<Ordering> orderings,
Map<SelectorName,SelectorName> sourceNamesByAlias) |
Modifier and Type | Method and Description |
---|---|
void |
Validator.visit(Ordering obj) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.