public interface IRuleState
Modifier and Type | Method and Description |
---|---|
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. |
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()
String 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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.