diff options
Diffstat (limited to 'subprojects/viatra-runtime-matchers/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryResultProviderAccess.java')
-rw-r--r-- | subprojects/viatra-runtime-matchers/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryResultProviderAccess.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime-matchers/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryResultProviderAccess.java b/subprojects/viatra-runtime-matchers/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryResultProviderAccess.java new file mode 100644 index 00000000..7fecd01a --- /dev/null +++ b/subprojects/viatra-runtime-matchers/src/main/java/tools/refinery/viatra/runtime/matchers/context/IQueryResultProviderAccess.java | |||
@@ -0,0 +1,31 @@ | |||
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 tools.refinery.viatra.runtime.matchers.backend.IQueryResultProvider; | ||
12 | import tools.refinery.viatra.runtime.matchers.backend.QueryEvaluationHint; | ||
13 | import tools.refinery.viatra.runtime.matchers.psystem.queries.PQuery; | ||
14 | |||
15 | /** | ||
16 | * This interface exposes API to request {@link IQueryResultProvider} for {@link PQuery} instances. | ||
17 | * | ||
18 | * @author Grill Balázs | ||
19 | * @since 1.5 | ||
20 | * @noimplement This interface is not intended to be implemented by clients. | ||
21 | */ | ||
22 | public interface IQueryResultProviderAccess { | ||
23 | |||
24 | /** | ||
25 | * Get a result provider for the given {@link PQuery}, which conforms the capabilities requested by the | ||
26 | * given {@link QueryEvaluationHint} object. | ||
27 | * @throws ViatraQueryRuntimeException | ||
28 | */ | ||
29 | public IQueryResultProvider getResultProvider(PQuery query, QueryEvaluationHint overrideHints); | ||
30 | |||
31 | } | ||