| com.hp.hpl.jena.db.impl.IPSet
All known Subclasses: com.hp.hpl.jena.db.impl.PSet_TripleStore_RDB,
IPSet | public interface IPSet (Code) | | Generic database interface used for implementing PStore
Different database table layouts and different SQL dialects should all
be supportable via this generic interface.
Based on the Jena1 version of IRDBDriver by Dave Reynolds
author: hkuno version: $Revision: 1.15 $ |
cleanDB | public void cleanDB()(Code) | | Remove all RDF information associated with this PSet
from a database.
|
close | public void close()(Code) | | Close this PSet
|
deleteTriple | public void deleteTriple(Triple t, IDBID gid)(Code) | | Parameters: t - the triple to be added Parameters: gid - the id of the graph |
deleteTripleList | public void deleteTripleList(List triples, IDBID gid)(Code) | | Parameters: t - the triple to be added Parameters: gid - the id of the graph |
extractTripleFromRowData | Triple extractTripleFromRowData(String subj, String pred, String obj)(Code) | | Method extractTripleFromRowData.
Parameters: subjURI - Parameters: predURI - Parameters: objURI - may be null Parameters: objVal - may be null Parameters: objRef - may be null Triple |
find | public ExtendedIterator find(TripleMatch t, IDBID graphID)(Code) | | Method find matching entries
Parameters: t - tripleMatch pattern Parameters: graphID - of the graph to search ExtendedIterator holding results |
getTblName | public String getTblName()(Code) | | String the name of the table that stores the PSet. |
removeStatementsFromDB | public void removeStatementsFromDB(IDBID graphID)(Code) | | Remove the statements associated with this PStore
from the database tables. Leave Literals.
Parameters: pProp - properties |
rowCount | public int rowCount(int graphId)(Code) | | Return a count of the rows in a given table
Parameters: tName - int |
setCachePreparedStatements | public void setCachePreparedStatements(boolean value)(Code) | | |
setSQLCache | public void setSQLCache(SQLCache cache)(Code) | | Pass the SQL cache to the IPSet
|
setSkipDuplicateCheck | public void setSkipDuplicateCheck(boolean value)(Code) | | |
setTblName | public void setTblName(String tblName)(Code) | | Parameters: tblName - |
statementTableContains | public boolean statementTableContains(IDBID graphID, Triple t)(Code) | | Return boolean indicating whether or not statement
table for specified statement table contains
the specified triple for the specified graph.
|
storeTriple | public void storeTriple(Triple t, IDBID gid)(Code) | | Parameters: t - the triple to be added Parameters: gid - the id of the graph |
storeTripleList | public void storeTripleList(List triples, IDBID my_GID)(Code) | | Attempt to add a list of triples to the specialized graph.
As each triple is successfully added it is removed from the List.
If complete is true then the entire List was added and the List will
be empty upon return. if complete is false, then at least one triple
remains in the List.
If a triple can't be stored for any reason other than incompatability
(for example, a lack of disk space) then the implemenation should throw
a runtime exception.
Parameters: triples - List of triples to be added. This is modified by the call. Parameters: my_GID - ID of the graph. |
tripleCount | public int tripleCount(IDBID graphId)(Code) | | Parameters: graphId - TODO number of triples in AssertedStatement table |
|
|