1 5 6 package com.hp.hpl.jena.db.impl; 7 8 import java.util.List ; 9 10 import com.hp.hpl.jena.db.RDFRDBException; 11 import com.hp.hpl.jena.graph.Triple; 12 import com.hp.hpl.jena.graph.TripleMatch; 13 import com.hp.hpl.jena.util.iterator.ExtendedIterator; 14 15 16 26 27 public interface IPSet { 28 29 32 public void setDriver(IRDBDriver driver) throws RDFRDBException; 33 34 37 public void setSQLCache(SQLCache cache); 38 public SQLCache getSQLCache(); 39 public void setSQLType(String value); 40 public void setSkipDuplicateCheck(boolean value); 41 public void setCachePreparedStatements(boolean value); 42 43 46 public void close(); 47 48 52 public void cleanDB(); 53 54 59 public boolean statementTableContains(IDBID graphID, Triple t); 60 61 62 66 public void storeTriple(Triple t, IDBID gid); 67 68 83 public void storeTripleList(List triples, IDBID my_GID); 84 85 86 87 88 92 public void deleteTriple(Triple t, IDBID gid); 93 94 98 public void deleteTripleList(List triples, IDBID gid); 99 100 101 110 Triple extractTripleFromRowData( 111 String subj, 112 String pred, 113 String obj); 114 115 121 public ExtendedIterator find(TripleMatch t, 122 IDBID graphID); 123 124 130 public int rowCount(String tName); 131 132 137 public void removeStatementsFromDB(IDBID graphID); 138 139 142 public int tripleCount(); 143 144 147 public void setTblName(String tblName); 148 149 152 public String getTblName(); 153 154 157 public IRDBDriver driver(); 158 159 } 160 161 187 188 189 | Popular Tags |