Package | Description |
---|---|
org.modeshape.jcr.query.lucene |
The core query engine, which currently uses Lucene for indexing and raw queries, and
the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA)
for updating and querying the Lucene indexes.
|
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 | Class and Description |
---|---|
protected static class |
LuceneQueryEngine.LuceneAccessQuery
The component that is created to represent a single access query and, when executed, transforms that access query into a
single Lucene query and issues it against Lucene.
|
Modifier and Type | Method and Description |
---|---|
protected ProcessingComponent |
LuceneQueryEngine.LuceneQueryProcessor.createAccessComponent(QueryCommand originalQuery,
QueryContext context,
PlanNode accessNode,
QueryResults.Columns resultColumns,
LuceneProcessingContext processingContext) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAccessComponent
A reusable base class for
ProcessingComponent implementations that does everything except obtain the correct
QueryResults.Location objects for the query results. |
class |
DelegatingComponent |
class |
DependentQueryComponent
A
ProcessingComponent that executes a dependent query node by first executing the left
component and then executing the right component. |
class |
DistinctComponent
A
ProcessingComponent implementation that removes duplicates. |
class |
DistinctOfSortedComponent
An efficient
ProcessingComponent that removes duplicates from an already-sorted set of results. |
class |
ExceptComponent |
class |
IntersectComponent |
class |
JoinComponent |
class |
LimitComponent |
class |
MergeJoinComponent
Create a processing component that performs a merge-join algorithm.
|
class |
NestedLoopJoinComponent |
class |
NoResultsComponent |
class |
ProjectComponent
A
ProcessingComponent implementation that performs a PROJECT operation to reduce the columns that
appear in the results. |
class |
SelectComponent |
class |
SetOperationComponent |
class |
SortLocationsComponent |
class |
SortValuesComponent
A
ProcessingComponent implementation that performs a PROJECT operation to reduce the columns that
appear in the results. |
class |
UnionComponent |
Modifier and Type | Method and Description |
---|---|
protected abstract ProcessingComponent |
QueryProcessor.createAccessComponent(QueryCommand originalQuery,
QueryContext context,
PlanNode accessNode,
QueryResults.Columns resultColumns,
ProcessingContextType processingContext)
Create the
ProcessingComponent that processes a single PlanNode.Type.ACCESS branch of a query plan. |
protected ProcessingComponent |
QueryProcessor.createComponent(QueryCommand originalQuery,
QueryContext context,
PlanNode node,
QueryResults.Columns columns,
ProcessingContextType processingContext)
Method that is called to build up the
ProcessingComponent objects that correspond to the optimized query plan. |
protected ProcessingComponent |
DelegatingComponent.delegate()
Get the delegate processor.
|
protected ProcessingComponent |
JoinComponent.left()
Get the processing component that serves as the left side of the join.
|
protected ProcessingComponent |
DependentQueryComponent.left()
Get the processing component that serves as the left side of the join.
|
protected ProcessingComponent |
JoinComponent.right()
Get the processing component that serves as the right side of the join.
|
protected ProcessingComponent |
DependentQueryComponent.right()
Get the processing component that serves as the right side of the join.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<ProcessingComponent> |
SetOperationComponent.sources() |
protected static Iterable<ProcessingComponent> |
SetOperationComponent.wrapWithLocationOrdering(Iterable<ProcessingComponent> sources,
boolean alreadySorted)
The sources' results must be sorted before the intersection can be computed.
|
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. |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
SetOperationComponent.unionCompatible(QueryResults.Columns columns,
Iterable<ProcessingComponent> sources) |
protected static Iterable<ProcessingComponent> |
SetOperationComponent.wrapWithLocationOrdering(Iterable<ProcessingComponent> sources,
boolean alreadySorted)
The sources' results must be sorted before the intersection can be computed.
|
Constructor and Description |
---|
ExceptComponent(QueryContext context,
QueryResults.Columns columns,
Iterable<ProcessingComponent> sources,
boolean alreadySorted,
boolean all) |
IntersectComponent(QueryContext context,
QueryResults.Columns columns,
Iterable<ProcessingComponent> sources,
boolean alreadySorted,
boolean all) |
SetOperationComponent(QueryContext context,
QueryResults.Columns columns,
Iterable<ProcessingComponent> sources,
boolean alreadySorted,
boolean all) |
UnionComponent(QueryContext context,
QueryResults.Columns columns,
Iterable<ProcessingComponent> sources,
boolean alreadySorted,
boolean all) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.