Package com.semedy.reasoner.api.edb
Interface RelationFactory
public interface RelationFactory
Controls the creation of relations of tuples inside the extensional database
-
Method Summary
Modifier and TypeMethodDescriptioncreateRelation(String predicate, int arity, long[] grounds, int number, ExtensionalDB edb) create a relation.voidsetExcludedPredicates(Set<String> preds) dredicates excluded from processing modevoiddetermine the storage mode of the relation
-
Method Details
-
setProcessingMode
determine the storage mode of the relation- Parameters:
storage-
-
setExcludedPredicates
dredicates excluded from processing mode- Parameters:
preds-
-
createRelation
Relation createRelation(String predicate, int arity, long[] grounds, int number, ExtensionalDB edb) throws IOException, EDBException create a relation. This method is called by the extensional database.- Parameters:
predicate-arity-number- (numbering) of filesgrounds- , ground arguments- Returns:
- Throws:
IOExceptionEDBException
-