com.bigdata.rdf.rules
Class FullClosure

java.lang.Object
  extended by com.bigdata.rdf.rules.BaseClosure
      extended by com.bigdata.rdf.rules.FullClosure

public class FullClosure
extends BaseClosure

A program that uses the fix point of the configured rules to compute the forward closure of the database. Since there is no inherent order among the rules in a fix point program, this program can be easily extended by adding additional rules.

Version:
$Id: FullClosure.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 
Fields inherited from class com.bigdata.rdf.rules.BaseClosure
db, forwardChainOwlEquivalentClass, forwardChainOwlEquivalentProperty, forwardChainOwlHasValue, forwardChainOwlInverseOf, forwardChainOwlSameAsClosure, forwardChainOwlSameAsProperties, forwardChainOwlTransitiveProperty, forwardChainRdfTypeRdfsResource, rdfsOnly, vocab
 
Constructor Summary
FullClosure(AbstractTripleStore db)
           
 
Method Summary
 MappedProgram getProgram(String db, String focusStore)
          Return the program that will be used to compute the closure of the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullClosure

public FullClosure(AbstractTripleStore db)
Method Detail

getProgram

public MappedProgram getProgram(String db,
                                String focusStore)
Description copied from class: BaseClosure
Return the program that will be used to compute the closure of the database.

Specified by:
getProgram in class BaseClosure
Parameters:
db - The database whose closure will be updated.
focusStore - When non-null, the focusStore will be closed against the database with the entailments written into the database. When null, the entire database will be closed (database-at-once closure).
Returns:
The program to be executed.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.