Package org.evrete.api
Interface RuleCompiledSources<S extends RuleLiteralData<R>,R extends Rule>
-
public interface RuleCompiledSources<S extends RuleLiteralData<R>,R extends Rule>This class represents a compiled version of
RuleLiteralData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<LiteralEvaluator>conditions()SgetSources()Returns the sources for this compilation.Consumer<RhsContext>rhs()This method returns the sources' compiled RHS.
-
-
-
Method Detail
-
getSources
S getSources()
Returns the sources for this compilation.- Returns:
- the literal sources
-
conditions
Collection<LiteralEvaluator> conditions()
- Returns:
- compiled conditions
-
rhs
Consumer<RhsContext> rhs()
This method returns the sources' compiled RHS.- Returns:
- Consumer function of RhsContext if available (non-null) in the sources, or null if it's not present.
-
-