Interface RuleApplier<RW extends MaterializedData & Writable>
- Type Parameters:
RW- the writable materialized data type handled by the rule applier
- All Known Implementing Classes:
AbstractRuleApplier, BreadthFirstTriggerRuleApplier, MultiThreadRuleApplier, ParallelTriggerRuleApplier, SourceDelegatedDatalogRuleApplier
public interface RuleApplier<RW extends MaterializedData & Writable>
A rule applier applies the given rules of the given factbase
-
Method Summary
Modifier and TypeMethodDescriptionapply(Collection<FORule> rules, ChasableData<RW> chasableData) Applies the given rules on the given data and returns the result (seeRuleApplicationStepResult)describe()Returns a textual description of the rule applier.Returns a JSON description of the rule applier.voidInitialize the rule applier for the given chase
-
Method Details
-
init
-
apply
Applies the given rules on the given data and returns the result (seeRuleApplicationStepResult)- Parameters:
rules- the rules to applychasableData- the data to apply the rules on- Returns:
- the result of one application step
-
describe
String describe()Returns a textual description of the rule applier.- Returns:
- a description of the rule applier
-
describeJSON
String describeJSON()Returns a JSON description of the rule applier.- Returns:
- a JSON description of the rule applier
-