Modifier and Type | Class and Description |
---|---|
class |
GenericEMFPatternPQuery
This is a generic (i.e.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<PBody> |
SpecificationBuilder.getBodies(Pattern pattern,
PQuery query) |
Constructor and Description |
---|
EPMToPBody(Pattern pattern,
PQuery query,
NameToSpecificationMap patternMap) |
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.
|
Constructor and Description |
---|
GenericQuerySpecification(PQuery wrappedPQuery)
Instantiates query specification for the given internal query representation.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseGeneratedEMFPQuery
Common superclass for EMF-based generated PQueries.
|
Modifier and Type | Method and Description |
---|---|
PQuery |
BaseQuerySpecification.getInternalQueryRepresentation() |
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.
|
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) |
Modifier and Type | Method and Description |
---|---|
PQuery |
MatcherReference.getQuery() |
PQuery |
LocalSearchMatcher.getQuerySpecification()
Returns the query specification this matcher used as source for the implementation
|
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) |
Modifier and Type | Method and Description |
---|---|
IQueryResultProvider |
LocalSearchBackend.getResultProvider(PQuery query) |
IQueryResultProvider |
LocalSearchBackend.peekExistingResultProvider(PQuery query) |
Constructor and Description |
---|
LocalSearchResultProvider(IQueryBackend backend,
org.apache.log4j.Logger logger,
IQueryRuntimeContext runtimeContext,
IQueryCacheContext cacheContext,
IQueryBackendHintProvider hintProvider,
PQuery query) |
Modifier and Type | Method and Description |
---|---|
PQuery |
NACOperation.getCalledQuery() |
PQuery |
CountCheck.getCalledQuery() |
PQuery |
BinaryTransitiveClosureCheck.getCalledQuery() |
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) |
Constructor and Description |
---|
CountOperation(PQuery calledQuery,
java.util.Map<java.lang.Integer,java.lang.Integer> frameMapping,
int position) |
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PQuery |
SurrogateQueryRegistry.getSurrogateQuery(IInputKey feature) |
Modifier and Type | Method and Description |
---|---|
IProvider<PQuery> |
SurrogateQueryRegistry.addDynamicSurrogateQueryForFeature(IInputKey feature,
PQuery surrogateQuery) |
IProvider<PQuery> |
SurrogateQueryRegistry.registerSurrogateQueryForFeature(IInputKey feature,
PQuery surrogateQuery) |
Modifier and Type | Method and Description |
---|---|
IProvider<PQuery> |
SurrogateQueryRegistry.addDynamicSurrogateQueryForFeature(IInputKey feature,
IProvider<PQuery> surrogateQuery) |
IProvider<PQuery> |
SurrogateQueryRegistry.registerSurrogateQueryForFeature(IInputKey feature,
IProvider<PQuery> surrogateQueryProvider) |
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
InitializablePQuery
Adds extra methods to the PQuery interface to initialize its contents.
|
Modifier and Type | Method and Description |
---|---|
PQuery |
PBody.getPattern() |
PQuery |
IQueryReference.getReferredQuery() |
Constructor and Description |
---|
PBody(PQuery query) |
Modifier and Type | Method and Description |
---|---|
PQuery |
PatternCallBasedDeferred.getReferredQuery() |
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) |
Modifier and Type | Method and Description |
---|---|
PQuery |
PositivePatternCall.getReferredQuery() |
PQuery |
BinaryTransitiveClosure.getReferredQuery() |
Constructor and Description |
---|
BinaryTransitiveClosure(PBody pBody,
Tuple variablesTuple,
PQuery pattern) |
PositivePatternCall(PBody pBody,
Tuple variablesTuple,
PQuery pattern) |
Modifier and Type | Class and Description |
---|---|
class |
BasePQuery
Default implementation of PQuery.
|
Modifier and Type | Method and Description |
---|---|
PQuery |
PDisjunction.getQuery()
Returns the corresponding query specification.
|
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
|
Constructor and Description |
---|
PDisjunction(PQuery query,
java.util.Set<PBody> bodies) |
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) |
Constructor and Description |
---|
FlattenerCopier(PQuery query,
java.util.List<PositivePatternCall> callsToFlatten,
java.util.List<PBody> calledBodies) |
PBodyCopier(PQuery query) |
Modifier and Type | Method and Description |
---|---|
PQuery |
IProvider.ProvidedValueFunction.apply(IProvider<PQuery> input) |
Modifier and Type | Method and Description |
---|---|
PQuery |
IProvider.ProvidedValueFunction.apply(IProvider<PQuery> input) |
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
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<PQuery,CompiledQuery> |
ReteRecipeCompiler.getCachedCompiledQueries()
Returns an unmodifiable view of currently cached compiled queries.
|
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.
|
Constructor and Description |
---|
RecursionCutoffPoint(PQuery query) |
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
PQuery |
CompiledQuery.getQuery() |
Constructor and Description |
---|
CompiledQuery(ReteNodeRecipe recipe,
java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces,
PQuery query) |
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.
|
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) |