|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gr.forth.ics.rssdb.storage.DBStorage
|
+--gr.forth.ics.rssdb.storage.specrepr.SpecReprDBStorage
|
+--gr.forth.ics.rssdb.storage.specreprvar1.SpecReprVar1DBStorage
Validates and Stores RDF descriptions in SPECIFIC_UNIQUETABLE representation
| Fields inherited from class gr.forth.ics.rssdb.storage.DBStorage |
con, DATA_PROPERTY, EMPTY, ENUMERATION_ELEMENT_PROPERTY, hlabel, RDFSUITE_NS, repr, resourcesIDs, SPECIFIC, SPECIFIC_NOSUBTABLE, SPECIFIC_UNIQUETABLE, stmt, subclass_dag, subproperty_dag, VRPModel |
| Constructor Summary | |
SpecReprVar1DBStorage()
|
|
| Method Summary | |
protected void |
createInitIndexes(java.sql.Statement stmt)
Indexes are created on the core database tables and on the table where data resources are stored (i.e., Instances table). |
protected boolean |
existMultipleLevelClassifiedResource()
Checks if there are resources in the db that are stored both at schema and data level. |
protected void |
initPreparedStatements()
Initialize prepared statements used for the storage |
boolean |
store(java.lang.String input,
java.lang.String dbPath)
Validates and store RDF descriptions |
protected int |
storeClass(DBValidator dbv)
Stores classes |
protected void |
storeClassDescriptions()
Stores classes data descriptions |
protected void |
storePrimitiveSchema()
Stores primitive schema |
protected int |
storeProperty(DBValidator dbv)
Stores properties |
protected void |
storePropertyLinks()
Stores property data descriptions |
protected void |
storeResource()
Stores data resources |
| Methods inherited from class gr.forth.ics.rssdb.storage.specrepr.SpecReprDBStorage |
createPrimitiveTableIndexes, createPrimitiveTables, storeMetaClass, storeThesaurus |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public SpecReprVar1DBStorage()
| Method Detail |
protected void storePrimitiveSchema()
throws java.sql.SQLException
DBStoragestorePrimitiveSchema in class SpecReprDBStorage
protected void createInitIndexes(java.sql.Statement stmt)
throws java.sql.SQLException
createInitIndexes in class SpecReprDBStorage
protected void initPreparedStatements()
throws java.sql.SQLException
DBStorageinitPreparedStatements in class SpecReprDBStorage
protected int storeClass(DBValidator dbv)
throws java.sql.SQLException
DBStoragestoreClass in class SpecReprDBStorage
protected void storeClassDescriptions()
throws java.sql.SQLException
DBStoragestoreClassDescriptions in class SpecReprDBStorage
protected int storeProperty(DBValidator dbv)
throws java.sql.SQLException
DBStoragestoreProperty in class SpecReprDBStorage
protected void storePropertyLinks()
throws java.sql.SQLException
DBStoragestorePropertyLinks in class SpecReprDBStorage
protected void storeResource()
throws java.sql.SQLException
DBStoragestoreResource in class SpecReprDBStorage
protected boolean existMultipleLevelClassifiedResource()
throws java.sql.SQLException
existMultipleLevelClassifiedResource in class SpecReprDBStorage
public boolean store(java.lang.String input,
java.lang.String dbPath)
store in class SpecReprDBStorageinput - The file or the URL you want to store
(e.g., http://www.ics.forth.gr/isl/RDF/VRP/Examples/cweb.rdf).dbPath - The database URL. The format is:
<postgreSQL server>:<port>/<dbname>
postgreSQL server: The machine where postgreSQL server is running.
port: The port where postgreSQL server is running. dbname: database name,
e.g., athena.ics.forth.gr:8080/testdb
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||