Class EMFOperationCompiler
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.localsearch.planner.compiler.AbstractOperationCompiler
-
- org.eclipse.viatra.query.runtime.localsearch.planner.compiler.EMFOperationCompiler
-
- All Implemented Interfaces:
IOperationCompiler
public class EMFOperationCompiler extends AbstractOperationCompiler
Operation compiler implementation that uses EMF-specific operations.- Since:
- 1.7
-
-
Field Summary
-
Fields inherited from class org.eclipse.viatra.query.runtime.localsearch.planner.compiler.AbstractOperationCompiler
dependencies, operations, UNSUPPORTED_TYPE_MESSAGE, variableBindings
-
-
Constructor Summary
Constructors Constructor Description EMFOperationCompiler(IQueryRuntimeContext runtimeContext)
EMFOperationCompiler(IQueryRuntimeContext runtimeContext, boolean baseIndexAvailable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createCheck(TypeFilterConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
protected void
createCheck(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
void
createExtend(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
protected void
createUnaryTypeCheck(IInputKey inputKey, int position)
-
Methods inherited from class org.eclipse.viatra.query.runtime.localsearch.planner.compiler.AbstractOperationCompiler
compile, createCheck, createCheck, createCheck, createCheck, createCheck, createCheck, createCheck, createCheck, createCheck, createExtend, createExtend, createExtend, createExtend, createExtend, createExtend, createExtend, createExtendDispatcher, getDependencies, getVariableMappings
-
-
-
-
Constructor Detail
-
EMFOperationCompiler
public EMFOperationCompiler(IQueryRuntimeContext runtimeContext)
-
EMFOperationCompiler
public EMFOperationCompiler(IQueryRuntimeContext runtimeContext, boolean baseIndexAvailable)
-
-
Method Detail
-
createCheck
protected void createCheck(TypeFilterConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
- Specified by:
createCheck
in classAbstractOperationCompiler
-
createCheck
protected void createCheck(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
- Specified by:
createCheck
in classAbstractOperationCompiler
-
createUnaryTypeCheck
protected void createUnaryTypeCheck(IInputKey inputKey, int position)
- Specified by:
createUnaryTypeCheck
in classAbstractOperationCompiler
-
createExtend
public void createExtend(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
- Specified by:
createExtend
in classAbstractOperationCompiler
-
-