public interface RulePreprocessHook
Modifier and Type | Method and Description |
---|---|
boolean |
needsRerun(FBRuleInfGraph infGraph,
Triple t)
Validate a triple add to see if it should reinvoke the hook.
|
void |
run(FBRuleInfGraph infGraph,
Finder dataFind,
Graph inserts)
Invoke the preprocessing hook.
|
void run(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts)
infGraph
- the inference graph which is being prepared,
the hook code can use this to add pure deductions or add additional
rules (using addRuleDuringPrepare).dataFind
- the finder which packages up the raw data (both
schema and data bind) and any cached transitive closures.inserts
- a temporary graph into which the hook should insert
all new deductions that should be seen by the rules.boolean needsRerun(FBRuleInfGraph infGraph, Triple t)
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP