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.void
setExcludedPredicates
(Set<String> preds) dredicates excluded from processing modevoid
determine 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:
IOException
EDBException
-