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 Details

    • init

      void init(Chase<RW> c)
      Initialize the rule applier for the given chase
      Parameters:
      c - the chase object
    • apply

      Applies the given rules on the given data and returns the result (see RuleApplicationStepResult)
      Parameters:
      rules - the rules to apply
      chasableData - 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