Interface RelationFactory


public interface RelationFactory
Controls the creation of relations of tuples inside the extensional database
  • Method Details

    • setProcessingMode

      void setProcessingMode(Configuration.StorageType storage)
      determine the storage mode of the relation
      Parameters:
      storage -
    • setExcludedPredicates

      void setExcludedPredicates(Set<String> preds)
      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 files
      grounds - , ground arguments
      Returns:
      Throws:
      IOException
      EDBException