edu.lehigh.swat.hawk.storage.ontper.simpledb
Class PerDbStorage

java.lang.Object
  extended by edu.lehigh.swat.hawk.storage.StorageModel
      extended by edu.lehigh.swat.hawk.storage.PersistentStorageModel
          extended by edu.lehigh.swat.hawk.storage.simpledb.DatabaseStorage
              extended by edu.lehigh.swat.hawk.storage.ontper.simpledb.PerDbStorage

public class PerDbStorage
extends DatabaseStorage

Database storage model that supports perspectives


Field Summary
 
Fields inherited from class edu.lehigh.swat.hawk.storage.simpledb.DatabaseStorage
cachedDocs, con, dbName, emptyTableState, knownDocs, knownOntos, knownUrls, loadedDocs, loadedTripleNum, maxUrlNum, ontSeqNum, propertyTypes, queryOnly, queryOnto, sourceSeqNum, stmt
 
Constructor Summary
PerDbStorage(java.lang.String DBName)
          Constructor.
 
Method Summary
 Ontology createOntology()
          Create an Ontology object.
 ResultSet issueQuery(Query qry)
          Execute query and return results.
 
Methods inherited from class edu.lehigh.swat.hawk.storage.simpledb.DatabaseStorage
addDocument, clearViewDefinitions, close, createDocument, createKb, decideCommitOnto, flushLoadedDocs, forcedExit, getDBName, getDocument, getDocumentIterator, getKnownOntologies, getKnownUrls, getOntSeq, getPropertyTypes, getQueryOntology, getSeqNum, getSourceNum, getStatement, getTableName, getUpdatedViewDefs, getUrlIndex, getViewDefinition, issueQuery, issueQuery, open, open, pushImports, setConnection, setImplictImports, setKnownOntologies, setQueryOntology, setViewDefinition, storeOntology, updateDocument, updatePropertyTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerDbStorage

public PerDbStorage(java.lang.String DBName)
Constructor.

Parameters:
DBName -
Method Detail

createOntology

public Ontology createOntology()
Create an Ontology object.

Overrides:
createOntology in class DatabaseStorage

issueQuery

public ResultSet issueQuery(Query qry)
Execute query and return results.