diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryBackendContext.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryBackendContext.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryBackendContext.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryBackendContext.java new file mode 100644 index 00000000..04f00aaa --- /dev/null +++ b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryBackendContext.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2016, Grill Balázs, IncQueryLabs Ltd. | ||
3 | * This program and the accompanying materials are made available under the | ||
4 | * terms of the Eclipse Public License v. 2.0 which is available at | ||
5 | * http://www.eclipse.org/legal/epl-v20.html. | ||
6 | * | ||
7 | * SPDX-License-Identifier: EPL-2.0 | ||
8 | *******************************************************************************/ | ||
9 | package tools.refinery.viatra.runtime.matchers.context; | ||
10 | |||
11 | import org.apache.log4j.Logger; | ||
12 | import tools.refinery.viatra.runtime.matchers.backend.IMatcherCapability; | ||
13 | import tools.refinery.viatra.runtime.matchers.backend.IQueryBackendHintProvider; | ||
14 | import tools.refinery.viatra.runtime.matchers.backend.QueryEvaluationHint; | ||
15 | import tools.refinery.viatra.runtime.matchers.psystem.analysis.QueryAnalyzer; | ||
16 | import tools.refinery.viatra.runtime.matchers.psystem.queries.PQuery; | ||
17 | |||
18 | /** | ||
19 | * This interface is a collector which holds every API that is provided by the engine to control | ||
20 | * the operation of the backends. | ||
21 | * | ||
22 | * @since 1.5 | ||
23 | * @noimplement This interface is not intended to be implemented by clients. | ||
24 | */ | ||
25 | public interface IQueryBackendContext { | ||
26 | |||
27 | Logger getLogger(); | ||
28 | |||
29 | IQueryRuntimeContext getRuntimeContext(); | ||
30 | |||
31 | IQueryCacheContext getQueryCacheContext(); | ||
32 | |||
33 | IQueryBackendHintProvider getHintProvider(); | ||
34 | |||
35 | IQueryResultProviderAccess getResultProviderAccess(); | ||
36 | |||
37 | QueryAnalyzer getQueryAnalyzer(); | ||
38 | |||
39 | /** | ||
40 | * @since 2.0 | ||
41 | */ | ||
42 | IMatcherCapability getRequiredMatcherCapability(PQuery query, QueryEvaluationHint overrideHints); | ||
43 | |||
44 | /** | ||
45 | * @since 1.6 | ||
46 | */ | ||
47 | boolean areUpdatesDelayed(); | ||
48 | |||
49 | } | ||