Package de.dfki.sds.aticsqlite
Interface Database
- All Superinterfaces:
AutoCloseable,org.apache.jena.sparql.core.Transactional
- All Known Implementing Classes:
DatabaseConnectionPerTransaction,DatabaseLongLivedConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
org.apache.jena.sparql.core.Transactional.Promote -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbindParams(PreparedStatement ps, Object[] params) voidvoidenableQueryLogger(String dbFilePath) booleanisInTransaction(long transactionId) default String<T> Tread(String sql, ResultSetMapper<T> resultSetMapper, Object... params) voidvoidwriteBatch(String sql, List<Object[]> batchParams, int batchSize) writeBatchReturningId(String sql, List<Object[]> batchParams, int batchSize) voidwriteQuery(String sqlQueryResource, Object... params) longwriteReturningId(String sql, Object... params) Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.apache.jena.sparql.core.Transactional
abort, begin, begin, begin, calc, calculate, calculateRead, calculateWrite, commit, end, exec, execute, executeRead, executeWrite, isInTransaction, promote, promote, transactionMode, transactionType
-
Method Details
-
read
- Throws:
SQLException
-
read
- Throws:
SQLException
-
write
- Throws:
SQLException
-
writeQuery
- Throws:
SQLException
-
writeReturningId
- Throws:
SQLException
-
writeBatch
- Throws:
SQLException
-
writeBatchReturningId
List<Long> writeBatchReturningId(String sql, List<Object[]> batchParams, int batchSize) throws SQLException - Throws:
SQLException
-
enableQueryLogger
-
disableQueryLogger
void disableQueryLogger() -
bindParams
- Throws:
SQLException
-
loadSql
- Throws:
SQLException
-
getFolder
File getFolder() -
isInTransaction
boolean isInTransaction(long transactionId) -
emptyIterator
TransactionalNullIterator emptyIterator()
-