|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRuleState
| Method Summary | |
|---|---|
IKeyOrder[] |
getKeyOrder()
An array of the IKeyOrder that will be used for each predicate in
the tail of the rule. |
int[] |
getNVars()
The #of unbound variables for the predicates in the tail of the Rule for the evaluation plan. |
IEvaluationPlan |
getPlan()
The evaluation plan. |
IVariable[][] |
getRequiredVars()
A list of variables required for each tail, by tailIndex. |
IRule |
getRule()
The IRule being evaluated. |
String |
toString()
Externalizes the rule and the evaluation order. |
String |
toString(IBindingSet bindingSet)
Shows the bindings (if given), the computed evaluation order, and the computed IKeyOrder for each IPredicate in the rule. |
| Method Detail |
|---|
IRule getRule()
IRule being evaluated.
IEvaluationPlan getPlan()
int[] getNVars()
Rule for the evaluation plan. The array is
correlated with the predicates index in the tail of the rule NOT with its
evaluation order.
IKeyOrder[] getKeyOrder()
IKeyOrder that will be used for each predicate in
the tail of the rule. The array is correlated with the predicates index
in the tail of the rule NOT with its evaluation order.
Note: The fully qualified index name for a given predicate is the name of
the relation for that predicate plus IKeyOrder.getIndexName().
IVariable[][] getRequiredVars()
String toString()
toString in class ObjectString toString(IBindingSet bindingSet)
IKeyOrder for each IPredicate in the rule.
bindingSet - When non-null, the current variable bindings
will be displayed. Otherwise, the names of variables will be
displayed rather than their bindings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||