## Uses of Interface
org.eclipse.incquery.runtime.matchers.psystem.queries.PQuery

- Packages that use PQuery
  Package | Description
  --- | ---
  org.eclipse.incquery.patternlanguage.emf.specification |
  org.eclipse.incquery.patternlanguage.emf.specification.builder |
  org.eclipse.incquery.runtime.api |
  org.eclipse.incquery.runtime.api.impl |
  org.eclipse.incquery.runtime.internal.apiimpl |
  org.eclipse.incquery.runtime.localsearch.matcher |
  org.eclipse.incquery.runtime.localsearch.matcher.integration |
  org.eclipse.incquery.runtime.localsearch.operations.check |
  org.eclipse.incquery.runtime.localsearch.operations.extend |
  org.eclipse.incquery.runtime.localsearch.planner |
  org.eclipse.incquery.runtime.matchers.backend |
  org.eclipse.incquery.runtime.matchers.context |
  org.eclipse.incquery.runtime.matchers.context.surrogate |
  org.eclipse.incquery.runtime.matchers.planning |
  org.eclipse.incquery.runtime.matchers.psystem |
  org.eclipse.incquery.runtime.matchers.psystem.basicdeferred |
  org.eclipse.incquery.runtime.matchers.psystem.basicenumerables |
  org.eclipse.incquery.runtime.matchers.psystem.queries |
  org.eclipse.incquery.runtime.matchers.psystem.rewriters |
  org.eclipse.incquery.runtime.matchers.util |
  org.eclipse.incquery.runtime.rete.boundary |
  org.eclipse.incquery.runtime.rete.construction.plancompiler |
  org.eclipse.incquery.runtime.rete.matcher |
  org.eclipse.incquery.runtime.rete.traceability |
  org.eclipse.incquery.viewmodel.traceablilty.generic |

- - ### Uses of PQuery in org.eclipse.incquery.patternlanguage.emf.specification

    Classes in org.eclipse.incquery.patternlanguage.emf.specification that implement PQuery
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GenericEMFPatternPQuery` This is a generic (i.e.

    Methods in org.eclipse.incquery.patternlanguage.emf.specification with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<PBody>` | SpecificationBuilder.`getBodies(Pattern pattern, PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.patternlanguage.emf.specification.builder

    Constructors in org.eclipse.incquery.patternlanguage.emf.specification.builder with parameters of type PQuery
    Constructor and Description
    `EPMToPBody(Pattern pattern, PQuery query, NameToSpecificationMap patternMap)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.api

    Methods in org.eclipse.incquery.runtime.api that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | IQuerySpecification.`getInternalQueryRepresentation()` Returns the definition of the query in a format intended for consumption by the query evaluator.

    Constructors in org.eclipse.incquery.runtime.api with parameters of type PQuery
    Constructor and Description
    `GenericQuerySpecification(PQuery wrappedPQuery)` Instantiates query specification for the given internal query representation.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.api.impl

    Classes in org.eclipse.incquery.runtime.api.impl that implement PQuery
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseGeneratedEMFPQuery` Common superclass for EMF-based generated PQueries.

    Methods in org.eclipse.incquery.runtime.api.impl that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | BaseQuerySpecification.`getInternalQueryRepresentation()`

    Constructors in org.eclipse.incquery.runtime.api.impl with parameters of type PQuery
    Constructor and Description
    `BaseGeneratedEMFQuerySpecification(PQuery wrappedPQuery)` Instantiates query specification for the given internal query representation.
    `BaseQuerySpecification(PQuery wrappedPQuery)` Instantiates query specification for the given internal query representation.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.internal.apiimpl

    Methods in org.eclipse.incquery.runtime.internal.apiimpl with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IQueryResultProvider` | IncQueryEngineImpl.`getCachingResultProvider(PQuery query)`
    `java.util.Map<java.lang.String,java.lang.Object>` | IncQueryEngineImpl.`getHints(PQuery query)`
    `boolean` | IncQueryEngineImpl.`isResultCached(PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.localsearch.matcher

    Methods in org.eclipse.incquery.runtime.localsearch.matcher that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | MatcherReference.`getQuery()`
    `PQuery` | LocalSearchMatcher.`getQuerySpecification()` Returns the query specification this matcher used as source for the implementation

    Constructors in org.eclipse.incquery.runtime.localsearch.matcher with parameters of type PQuery
    Constructor and Description
    `LocalSearchMatcher(PQuery query, java.util.Collection<SearchPlanExecutor> plan, int keySize, int frameSize)`
    `LocalSearchMatcher(PQuery query, SearchPlanExecutor[] plan, int keySize, int frameSize)`
    `LocalSearchMatcher(PQuery query, SearchPlanExecutor plan, int keySize, int frameSize)`
    `MatcherReference(PQuery query, java.util.Set<java.lang.Integer> adornment)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.localsearch.matcher.integration

    Methods in org.eclipse.incquery.runtime.localsearch.matcher.integration with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IQueryResultProvider` | LocalSearchBackend.`getResultProvider(PQuery query)`
    `IQueryResultProvider` | LocalSearchBackend.`peekExistingResultProvider(PQuery query)`

    Constructors in org.eclipse.incquery.runtime.localsearch.matcher.integration with parameters of type PQuery
    Constructor and Description
    `LocalSearchResultProvider(IQueryBackend backend, org.apache.log4j.Logger logger, IQueryRuntimeContext runtimeContext, IQueryCacheContext cacheContext, IQueryBackendHintProvider hintProvider, PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.localsearch.operations.check

    Methods in org.eclipse.incquery.runtime.localsearch.operations.check that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | NACOperation.`getCalledQuery()`
    `PQuery` | CountCheck.`getCalledQuery()`
    `PQuery` | BinaryTransitiveClosureCheck.`getCalledQuery()`

    Constructors in org.eclipse.incquery.runtime.localsearch.operations.check with parameters of type PQuery
    Constructor and Description
    `BinaryTransitiveClosureCheck(PQuery calledQuery, int sourcePosition, int targetPosition)` The source position will be matched in the called pattern to the first parameter; while target to the second.
    `CountCheck(PQuery calledQuery, java.util.Map<java.lang.Integer,java.lang.Integer> frameMapping, int position)`
    `NACOperation(PQuery calledQuery, java.util.Map<java.lang.Integer,java.lang.Integer> frameMapping)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.localsearch.operations.extend

    Constructors in org.eclipse.incquery.runtime.localsearch.operations.extend with parameters of type PQuery
    Constructor and Description
    `CountOperation(PQuery calledQuery, java.util.Map<java.lang.Integer,java.lang.Integer> frameMapping, int position)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.localsearch.planner

    Methods in org.eclipse.incquery.runtime.localsearch.planner with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.util.List<ISearchOperation>,java.util.Map<PVariable,java.lang.Integer>>` | LocalSearchPlanner.`plan(PQuery querySpec, java.util.Set<java.lang.Integer> boundVarIndices)` Creates executable plans for the provided query.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.backend

    Methods in org.eclipse.incquery.runtime.matchers.backend with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.String,java.lang.Object>` | IQueryBackendHintProvider.`getHints(PQuery query)` Suggests query evaluation hints regarding a query.
    `IQueryResultProvider` | IQueryBackend.`getResultProvider(PQuery query)` Returns a result provider for a given query.
    `IQueryResultProvider` | IQueryBackend.`peekExistingResultProvider(PQuery query)` Returns an existing result provider for a given query, if it was previously constructed, returns null otherwise.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.context

    Methods in org.eclipse.incquery.runtime.matchers.context with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IQueryResultProvider` | IQueryCacheContext.`getCachingResultProvider(PQuery query)` Returns a caching result provider for the given query; it must be constructed if it does not exist yet.
    `boolean` | IQueryCacheContext.`isResultCached(PQuery query)` Checks if there already is a caching result provider for the given query.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.context.surrogate

    Methods in org.eclipse.incquery.runtime.matchers.context.surrogate that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | SurrogateQueryRegistry.`getSurrogateQuery(IInputKey feature)`

    Methods in org.eclipse.incquery.runtime.matchers.context.surrogate that return types with arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IProvider<PQuery>` | SurrogateQueryRegistry.`addDynamicSurrogateQueryForFeature(IInputKey feature, IProvider<PQuery> surrogateQuery)`
    `IProvider<PQuery>` | SurrogateQueryRegistry.`addDynamicSurrogateQueryForFeature(IInputKey feature, PQuery surrogateQuery)`
    `java.util.Map<IInputKey,PQuery>` | SurrogateQueryRegistry.`getAllSurrogateQueryFQNMap()` Deprecated. use `SurrogateQueryRegistry.getAllSurrogateQueries()` instead
    `java.util.Map<IInputKey,PQuery>` | SurrogateQueryRegistry.`getDynamicSurrogateQueryFQNMap()` Deprecated. use `SurrogateQueryRegistry.getDynamicSurrogateQueries()` instead
    `java.util.Map<IInputKey,PQuery>` | SurrogateQueryRegistry.`getRegisteredSurrogateQueryFQNMap()` Deprecated. use `SurrogateQueryRegistry.getRegisteredSurrogateQueries()` instead
    `IProvider<PQuery>` | SurrogateQueryRegistry.`registerSurrogateQueryForFeature(IInputKey feature, IProvider<PQuery> surrogateQueryProvider)`
    `IProvider<PQuery>` | SurrogateQueryRegistry.`registerSurrogateQueryForFeature(IInputKey feature, PQuery surrogateQuery)`
    `IProvider<PQuery>` | SurrogateQueryRegistry.`removeDynamicSurrogateQueryForFeature(IInputKey feature)`

    Methods in org.eclipse.incquery.runtime.matchers.context.surrogate with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IProvider<PQuery>` | SurrogateQueryRegistry.`addDynamicSurrogateQueryForFeature(IInputKey feature, PQuery surrogateQuery)`
    `IProvider<PQuery>` | SurrogateQueryRegistry.`registerSurrogateQueryForFeature(IInputKey feature, PQuery surrogateQuery)`

    Method parameters in org.eclipse.incquery.runtime.matchers.context.surrogate with type arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `IProvider<PQuery>` | SurrogateQueryRegistry.`addDynamicSurrogateQueryForFeature(IInputKey feature, IProvider<PQuery> surrogateQuery)`
    `IProvider<PQuery>` | SurrogateQueryRegistry.`registerSurrogateQueryForFeature(IInputKey feature, IProvider<PQuery> surrogateQueryProvider)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.planning

    Methods in org.eclipse.incquery.runtime.matchers.planning with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `SubPlan` | IOperationCompiler.`patternCallPlan(Tuple nodes, PQuery supplierKey)`
    `Collector` | IOperationCompiler.`patternCollector(PQuery pattern)`
    `void` | IOperationCompiler.`patternFinished(PQuery pattern, Collector collector)`
    `IOperationCompiler<Collector>` | IOperationCompiler.`putOnTab(PQuery effort)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.psystem

    Subinterfaces of PQuery in org.eclipse.incquery.runtime.matchers.psystem
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `InitializablePQuery` Adds extra methods to the PQuery interface to initialize its contents.

    Methods in org.eclipse.incquery.runtime.matchers.psystem that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | PBody.`getPattern()`
    `PQuery` | IQueryReference.`getReferredQuery()`

    Constructors in org.eclipse.incquery.runtime.matchers.psystem with parameters of type PQuery
    Constructor and Description
    `PBody(PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.psystem.basicdeferred

    Methods in org.eclipse.incquery.runtime.matchers.psystem.basicdeferred that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | PatternCallBasedDeferred.`getReferredQuery()`

    Constructors in org.eclipse.incquery.runtime.matchers.psystem.basicdeferred with parameters of type PQuery
    Constructor and Description
    `NegativePatternCall(PBody pBody, Tuple actualParametersTuple, PQuery query)`
    `PatternCallBasedDeferred(PBody pBody, Tuple actualParametersTuple, PQuery pattern)`
    `PatternCallBasedDeferred(PBody pBody, Tuple actualParametersTuple, PQuery pattern, java.util.Set<PVariable> additionalAffectedVariables)`
    `PatternMatchCounter(PBody pBody, Tuple actualParametersTuple, PQuery query, PVariable resultVariable)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.psystem.basicenumerables

    Methods in org.eclipse.incquery.runtime.matchers.psystem.basicenumerables that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | PositivePatternCall.`getReferredQuery()`
    `PQuery` | BinaryTransitiveClosure.`getReferredQuery()`

    Constructors in org.eclipse.incquery.runtime.matchers.psystem.basicenumerables with parameters of type PQuery
    Constructor and Description
    `BinaryTransitiveClosure(PBody pBody, Tuple variablesTuple, PQuery pattern)`
    `PositivePatternCall(PBody pBody, Tuple variablesTuple, PQuery pattern)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.psystem.queries

    Classes in org.eclipse.incquery.runtime.matchers.psystem.queries that implement PQuery
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasePQuery` Default implementation of PQuery.

    Methods in org.eclipse.incquery.runtime.matchers.psystem.queries that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | PDisjunction.`getQuery()` Returns the corresponding query specification.

    Methods in org.eclipse.incquery.runtime.matchers.psystem.queries that return types with arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `static com.google.common.base.Function<PBody,java.lang.Iterable<PQuery>>` | PQueries.`directlyReferencedQueriesFunction()`
    `java.util.Set<PQuery>` | PQuery.`getAllReferredQueries()` Returns all queries required to evaluate this query (transitively).
    `java.util.Set<PQuery>` | PDisjunction.`getAllReferredQueries()` Returns all queries required to evaluate this query (transitively).
    `java.util.Set<PQuery>` | BasePQuery.`getAllReferredQueries()`
    `java.util.Set<PQuery>` | PQuery.`getDirectReferredQueries()` Returns all queries directly referred in the constraints.
    `java.util.Set<PQuery>` | PDisjunction.`getDirectReferredQueries()` Returns all queries directly referred in the constraints.
    `java.util.Set<PQuery>` | BasePQuery.`getDirectReferredQueries()`
    `static com.google.common.base.Function<PQuery,java.lang.String>` | PQueries.`queryNameFunction()` Function that returns the qualified name of a query
    `static com.google.common.base.Function<IQueryReference,PQuery>` | PQueries.`queryOfReferenceFunction()`
    `static com.google.common.base.Predicate<PQuery>` | PQueries.`queryStatusPredicate(PQuery.PQueryStatus status)` Predicate checking for the status of selected queries

    Constructors in org.eclipse.incquery.runtime.matchers.psystem.queries with parameters of type PQuery
    Constructor and Description
    `PDisjunction(PQuery query, java.util.Set<PBody> bodies)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.psystem.rewriters

    Methods in org.eclipse.incquery.runtime.matchers.psystem.rewriters with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | IVariableRenamer.`createVariableName(PVariable pVariable, PQuery query)` Creates a variable name based on a given variable and a given query.
    `java.lang.String` | IVariableRenamer.SameName.`createVariableName(PVariable pVariable, PQuery query)`
    `java.lang.String` | IVariableRenamer.HierarchicalName.`createVariableName(PVariable pVariable, PQuery query)`
    `PDisjunction` | PQueryFlattener.`flatten(PQuery pQuery)` Deprecated. Use `PQueryFlattener.rewrite(PDisjunction)` instead
    `PDisjunction` | PDisjunctionRewriter.`rewrite(PQuery query)`

    Constructors in org.eclipse.incquery.runtime.matchers.psystem.rewriters with parameters of type PQuery
    Constructor and Description
    `FlattenerCopier(PQuery query, java.util.List<PositivePatternCall> callsToFlatten, java.util.List<PBody> calledBodies)`
    `PBodyCopier(PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.matchers.util

    Methods in org.eclipse.incquery.runtime.matchers.util that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | IProvider.ProvidedValueFunction.`apply(IProvider<PQuery> input)`

    Method parameters in org.eclipse.incquery.runtime.matchers.util with type arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | IProvider.ProvidedValueFunction.`apply(IProvider<PQuery> input)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.rete.boundary

    Methods in org.eclipse.incquery.runtime.rete.boundary with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `Address<? extends Production>` | ReteBoundary.`accessProductionNode(PQuery query)` accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet
    `RecipeTraceInfo` | ReteBoundary.`accessProductionTrace(PQuery query)` accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet

  - ### Uses of PQuery in org.eclipse.incquery.runtime.rete.construction.plancompiler

    Methods in org.eclipse.incquery.runtime.rete.construction.plancompiler that return types with arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<PQuery,CompiledQuery>` | ReteRecipeCompiler.`getCachedCompiledQueries()` Returns an unmodifiable view of currently cached compiled queries.

    Methods in org.eclipse.incquery.runtime.rete.construction.plancompiler with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `CompiledQuery` | ReteRecipeCompiler.`getCompiledForm(PQuery query)` Returns a `CompiledQuery` compiled from a query
    `static CompiledQuery` | CompilerHelper.`makeQueryTrace(PQuery query, java.util.Collection<RecipeTraceInfo> bodyFinalTraces, java.util.Collection<ReteNodeRecipe> bodyFinalRecipes)` Creates a recipe for a production node and the corresponding trace.

    Constructors in org.eclipse.incquery.runtime.rete.construction.plancompiler with parameters of type PQuery
    Constructor and Description
    `RecursionCutoffPoint(PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.runtime.rete.matcher

    Methods in org.eclipse.incquery.runtime.rete.matcher with parameters of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `RetePatternMatcher` | ReteEngine.`accessMatcher(PQuery query)` Accesses the patternmatcher for a given pattern, constructs one if a matcher is not available yet.
    `IQueryResultProvider` | ReteEngine.`getResultProvider(PQuery query)`
    `IQueryResultProvider` | ReteEngine.`peekExistingResultProvider(PQuery query)`

    Method parameters in org.eclipse.incquery.runtime.rete.matcher with type arguments of type PQuery
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReteEngine.`buildMatchersCoalesced(java.util.Collection<PQuery> specifications)` Constructs RETE pattern matchers for a collection of patterns, if they are not available yet.

  - ### Uses of PQuery in org.eclipse.incquery.runtime.rete.traceability

    Methods in org.eclipse.incquery.runtime.rete.traceability that return PQuery
    Modifier and Type | Method and Description
    --- | ---
    `PQuery` | CompiledQuery.`getQuery()`

    Constructors in org.eclipse.incquery.runtime.rete.traceability with parameters of type PQuery
    Constructor and Description
    `CompiledQuery(ReteNodeRecipe recipe, java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces, PQuery query)`

  - ### Uses of PQuery in org.eclipse.incquery.viewmodel.traceablilty.generic

    Classes in org.eclipse.incquery.viewmodel.traceablilty.generic that implement PQuery
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GenericReferencedPQuery` This PQuery class defines an extended query for the given base query with the additionally referenced parameters.
    `class` | `GenericTracedPQuery` This PQuery class defines an extended query for the given referenced query with the additional trace object.

    Constructors in org.eclipse.incquery.viewmodel.traceablilty.generic with parameters of type PQuery
    Constructor and Description
    `GenericReferencedPQuery(PQuery baseQuery, com.google.common.collect.Multimap<PParameter,PParameter> traceSources, java.util.Map<PParameter,java.lang.String> traceIds, java.lang.String traceabilityId)`