|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - The generic type of elements materialized from the head of the
rule.public interface ISolution<E>
A solution bundles together any of (a) the materialized element corresponding
to the bindings on the head of an IRule; (b) the IBindingSet
used to generate that solution; and (c) the IRule from which those
bindings were computed. All data are optional. Which data are included
depends on a set of bit flags known to the IJoinNexus implementation
and the behavior of its IJoinNexus.newSolution(IRule, IBindingSet)
implementation.
Note: The IBindingSet is useful both for high-level query and to
materialize the justifications for the entailments. The RDF DB uses this for
to maintain a justifications index in support of truth maintenance.
| Method Summary | |
|---|---|
E |
get()
Return the element materialized from the head of the rule given a set of bindings for that rule (optional operation). |
IBindingSet |
getBindingSet()
Return the IBindingSet for this solution (optional operation). |
IRule<E> |
getRule()
Return the IRule that generated this solution (optional
operation). |
| Method Detail |
|---|
E get()
bindings for that rule (optional operation).
null if the element was not
requested.IRule<E> getRule()
IRule that generated this solution (optional
operation).
IRule -or- null if the rule was not
requested.IBindingSet getBindingSet()
IBindingSet for this solution (optional operation).
IBindingSet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||