Class RecipesHelper
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.rete.recipes.helper.RecipesHelper
-
public class RecipesHelper extends java.lang.ObjectStatic helper class for easy construction of recipes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpressionDefinitionexpressionDefinition(java.lang.Object evaluator)static InputFilterRecipeinputFilterRecipe(ReteNodeRecipe parent, java.lang.Object inputKey, java.lang.String inputKeyID, Mask mask)Mask can be null in case no tuple reordering or trimming is neededstatic InputRecipeinputRecipe(java.lang.Object inputKey, java.lang.String inputKeyID, int arity)static Maskmask(int sourceArity, int... sourceIndices)static Maskmask(int sourceArity, java.util.Collection<java.lang.Integer> sourceIndices)static ProjectionIndexerRecipeprojectionIndexerRecipe(ReteNodeRecipe parent, Mask mask)
-
-
-
Method Detail
-
mask
public static Mask mask(int sourceArity, java.util.Collection<java.lang.Integer> sourceIndices)
- Since:
- 2.0
-
mask
public static Mask mask(int sourceArity, int... sourceIndices)
-
projectionIndexerRecipe
public static ProjectionIndexerRecipe projectionIndexerRecipe(ReteNodeRecipe parent, Mask mask)
-
expressionDefinition
public static ExpressionDefinition expressionDefinition(java.lang.Object evaluator)
-
inputRecipe
public static InputRecipe inputRecipe(java.lang.Object inputKey, java.lang.String inputKeyID, int arity)
-
inputFilterRecipe
public static InputFilterRecipe inputFilterRecipe(ReteNodeRecipe parent, java.lang.Object inputKey, java.lang.String inputKeyID, Mask mask)
Mask can be null in case no tuple reordering or trimming is needed
-
-