## Uses of Class
org.modeshape.jcr.query.process.ProcessingComponent

- Packages that use ProcessingComponent
  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.

- - ### Uses of ProcessingComponent in org.modeshape.jcr.query.lucene

    Subclasses of ProcessingComponent in org.modeshape.jcr.query.lucene
    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.

    Methods in org.modeshape.jcr.query.lucene that return ProcessingComponent
    Modifier and Type | Method and Description
    --- | ---
    `protected ProcessingComponent` | LuceneQueryEngine.LuceneQueryProcessor.`createAccessComponent(QueryCommand originalQuery, QueryContext context, PlanNode accessNode, QueryResults.Columns resultColumns, LuceneProcessingContext processingContext)`

  - ### Uses of ProcessingComponent in org.modeshape.jcr.query.process

    Subclasses of ProcessingComponent in org.modeshape.jcr.query.process
    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`

    Methods in org.modeshape.jcr.query.process that return ProcessingComponent
    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.

    Methods in org.modeshape.jcr.query.process that return types with arguments of type ProcessingComponent
    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.

    Methods in org.modeshape.jcr.query.process with parameters of type ProcessingComponent
    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.

    Method parameters in org.modeshape.jcr.query.process with type arguments of type ProcessingComponent
    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.

    Constructors in org.modeshape.jcr.query.process with parameters of type ProcessingComponent
    Constructor and Description
    `DelegatingComponent(ProcessingComponent delegate)`
    `DelegatingComponent(ProcessingComponent delegate, QueryResults.Columns overridingColumns)`
    `DependentQueryComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, String leftVariableName, String rightVariableName)`
    `DistinctComponent(ProcessingComponent delegate)`
    `JoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, JoinCondition condition, JoinType joinType)`
    `LimitComponent(ProcessingComponent delegate, Limit limit)`
    `MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, ChildNodeJoinCondition condition, JoinType joinType)`
    `MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, EquiJoinCondition condition, JoinType joinType)`
    `MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, SameNodeJoinCondition condition, JoinType joinType)`
    `NestedLoopJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, JoinCondition condition, JoinType joinType)`
    `ProjectComponent(ProcessingComponent delegate, List<Column> columns)`
    `SelectComponent(ProcessingComponent delegate, Constraint constraint, Map<String,Object> variables)` Create a SELECT processing component that pass those tuples that satisfy the supplied constraint.
    `SortLocationsComponent(ProcessingComponent delegate)`
    `SortLocationsComponent(ProcessingComponent delegate, Comparator<Object[]> sortingComparator)`
    `SortValuesComponent(ProcessingComponent delegate, List<Ordering> orderings, Map<SelectorName,SelectorName> sourceNamesByAlias)`

    Constructor parameters in org.modeshape.jcr.query.process with type arguments of type ProcessingComponent
    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.