diff options
Diffstat (limited to 'subprojects/store-query-interpreter/src/main/java')
-rw-r--r-- | subprojects/store-query-interpreter/src/main/java/tools/refinery/store/query/interpreter/internal/QueryInterpreterBuilderImpl.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subprojects/store-query-interpreter/src/main/java/tools/refinery/store/query/interpreter/internal/QueryInterpreterBuilderImpl.java b/subprojects/store-query-interpreter/src/main/java/tools/refinery/store/query/interpreter/internal/QueryInterpreterBuilderImpl.java index c0d802da..4e839b43 100644 --- a/subprojects/store-query-interpreter/src/main/java/tools/refinery/store/query/interpreter/internal/QueryInterpreterBuilderImpl.java +++ b/subprojects/store-query-interpreter/src/main/java/tools/refinery/store/query/interpreter/internal/QueryInterpreterBuilderImpl.java | |||
@@ -5,6 +5,8 @@ | |||
5 | */ | 5 | */ |
6 | package tools.refinery.store.query.interpreter.internal; | 6 | package tools.refinery.store.query.interpreter.internal; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import tools.refinery.interpreter.rete.recipes.RecipesPackage; | ||
8 | import tools.refinery.store.adapter.AbstractModelAdapterBuilder; | 10 | import tools.refinery.store.adapter.AbstractModelAdapterBuilder; |
9 | import tools.refinery.store.model.ModelStore; | 11 | import tools.refinery.store.model.ModelStore; |
10 | import tools.refinery.store.query.dnf.AnyQuery; | 12 | import tools.refinery.store.query.dnf.AnyQuery; |
@@ -40,6 +42,7 @@ public class QueryInterpreterBuilderImpl extends AbstractModelAdapterBuilder<Que | |||
40 | private final Set<AnyQuery> queries = new LinkedHashSet<>(); | 42 | private final Set<AnyQuery> queries = new LinkedHashSet<>(); |
41 | 43 | ||
42 | public QueryInterpreterBuilderImpl() { | 44 | public QueryInterpreterBuilderImpl() { |
45 | EPackage.Registry.INSTANCE.put(RecipesPackage.eNS_URI, RecipesPackage.eINSTANCE); | ||
43 | engineOptionsBuilder = new InterpreterEngineOptions.Builder() | 46 | engineOptionsBuilder = new InterpreterEngineOptions.Builder() |
44 | .withDefaultBackend(ReteBackendFactory.INSTANCE) | 47 | .withDefaultBackend(ReteBackendFactory.INSTANCE) |
45 | .withDefaultCachingBackend(ReteBackendFactory.INSTANCE) | 48 | .withDefaultCachingBackend(ReteBackendFactory.INSTANCE) |