Method Summary |
|
public void | addAll(LPRuleStore store) Add all the rules and tabling instructions from an existing rulestore into this one. |
public List | codeFor(Node predicate) Return an ordered list of RuleClauseCode objects to implement the given
predicate. |
public List | codeFor(TriplePattern goal) Return an ordered list of RuleClauseCode objects to implement the given
query pattern. |
protected void | compileAll() Compile all the rules in a table. |
protected void | doAddRemoveRule(Rule rule, boolean isAdd) Add/remove a single rule from the store. |
public boolean | isIndexedPredicate(Node predicate) Return true if the given predicate is indexed. |
public boolean | isTabled(TriplePattern goal) Return true if the given goal is tabled, currently this is true if the
predicate is a tabled predicate or the predicate is a wildcard and some
tabled predictes exist. |
public boolean | isTabled(Node predicate) Return true if the given predicated is tabled, currently this is true if the
predicate is a tabled predicate or the predicate is a wildcard and some
tabled predictes exist. |
public synchronized void | tablePredicate(Node predicate) Register an RDF predicate as one whose presence in a goal should force
the goal to be tabled. |