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 voidcreateCheck(TypeFilterConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)protected voidcreateCheck(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)voidcreateExtend(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)protected voidcreateUnaryTypeCheck(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:
createCheckin classAbstractOperationCompiler
-
createCheck
protected void createCheck(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
- Specified by:
createCheckin classAbstractOperationCompiler
-
createUnaryTypeCheck
protected void createUnaryTypeCheck(IInputKey inputKey, int position)
- Specified by:
createUnaryTypeCheckin classAbstractOperationCompiler
-
createExtend
public void createExtend(TypeConstraint typeConstraint, java.util.Map<PVariable,java.lang.Integer> variableMapping)
- Specified by:
createExtendin classAbstractOperationCompiler
-
-