diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IQueryBackendHintProvider.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IQueryBackendHintProvider.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IQueryBackendHintProvider.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IQueryBackendHintProvider.java new file mode 100644 index 00000000..9bb76349 --- /dev/null +++ b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IQueryBackendHintProvider.java | |||
@@ -0,0 +1,32 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2015, Bergmann Gabor, Istvan Rath and Daniel Varro | ||
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.backend; | ||
10 | |||
11 | import tools.refinery.viatra.runtime.matchers.psystem.queries.PQuery; | ||
12 | |||
13 | /** | ||
14 | * Provides query evaluation hints consisting of the Engine default hints and | ||
15 | * the hints provided by the pattern itself. | ||
16 | * | ||
17 | * @author Bergmann Gabor | ||
18 | * @since 0.9 | ||
19 | * @noimplement This interface is not intended to be implemented by clients, except in the tools.refinery.viatra.runtime plugin. | ||
20 | */ | ||
21 | public interface IQueryBackendHintProvider { | ||
22 | |||
23 | /** | ||
24 | * Suggests query evaluation hints regarding a query. The returned hints reflects the default hints of the | ||
25 | * query engine merged with the hints provided by the pattern itself. These can be overridden via specific | ||
26 | * advanced API of the engine. | ||
27 | * | ||
28 | * @since 1.4 | ||
29 | */ | ||
30 | QueryEvaluationHint getQueryEvaluationHint(PQuery query); | ||
31 | |||
32 | } | ||