Interface BodyToQueryTransformer

All Known Implementing Classes:
AllTransformer, FrontierTransformer

public interface BodyToQueryTransformer
Transforms a rule body into a query The properties of the query answer variables are dependent on the implementation
Author:
Florent Tornil
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Defautl method to describe the rule scheduler
    Transforms the given rule's body into the corresponding query
  • Method Details

    • transform

      FOQuery<?> transform(FORule rule)
      Transforms the given rule's body into the corresponding query
      Parameters:
      rule - rule to transform
      Returns:
      the query corresponding to the given rule's body
    • describe

      default String describe()
      Defautl method to describe the rule scheduler
      Returns:
      a short description of this transformer