Class RulePredicate

All Implemented Interfaces:
BasicPredicateIF, JDOPredicateIF, PredicateIF

public class RulePredicate extends RulePredicate implements JDOPredicateIF
INTERNAL: Implements rule predicates.
  • Constructor Details

    • RulePredicate

      public RulePredicate(ParsedRule rule)
  • Method Details

    • isRecursive

      public boolean isRecursive()
      Description copied from interface: JDOPredicateIF
      INTERNAL:
      Specified by:
      isRecursive in interface JDOPredicateIF
    • prescan

      public void prescan(QueryBuilder builder, List arguments)
      Description copied from interface: JDOPredicateIF
      INTERNAL: This method will be called before building the query. It is used mainly for analyzing the predicate.
      Specified by:
      prescan in interface JDOPredicateIF
    • buildQuery

      public boolean buildQuery(QueryBuilder builder, List expressions, List arguments) throws InvalidQueryException
      Description copied from interface: JDOPredicateIF
      INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.
      Specified by:
      buildQuery in interface JDOPredicateIF
      Returns:
      true if predicate was mapped to JDO expression; false if the predicate could not be mapped to an JDO expression.
      Throws:
      InvalidQueryException
    • isSelfRecursive

      public boolean isSelfRecursive()
    • isRecursive

      protected boolean isRecursive(List clauses, RulePredicate relative_to)