public class RulePredicate extends RulePredicate implements JDOPredicateIF
rule, signature
Constructor and Description |
---|
RulePredicate(ParsedRule rule) |
Modifier and Type | Method and Description |
---|---|
boolean |
buildQuery(QueryBuilder builder,
List expressions,
List arguments)
INTERNAL: Registers JDOExpressionsIF for this predicate with the
query builder.
|
boolean |
isRecursive()
INTERNAL:
|
protected boolean |
isRecursive(List clauses,
RulePredicate relative_to) |
boolean |
isSelfRecursive() |
void |
prescan(QueryBuilder builder,
List arguments)
INTERNAL: This method will be called before building the
query.
|
equals, getClauses, getCost, getName, getParameters, getSignature, replaceable, satisfy, translate
findClauseItems, findClauseVariables, satisfy
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
satisfy
getCost, getName, getSignature
public RulePredicate(ParsedRule rule)
public boolean isRecursive()
JDOPredicateIF
isRecursive
in interface JDOPredicateIF
public void prescan(QueryBuilder builder, List arguments)
JDOPredicateIF
prescan
in interface JDOPredicateIF
public boolean buildQuery(QueryBuilder builder, List expressions, List arguments) throws InvalidQueryException
JDOPredicateIF
buildQuery
in interface JDOPredicateIF
InvalidQueryException
public boolean isSelfRecursive()
protected boolean isRecursive(List clauses, RulePredicate relative_to)