Class SqlDaoBase
java.lang.Object
org.aksw.jena_sparql_api.cache.extra.SqlDaoBase
- All Implemented Interfaces:
SqlDao
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSqlDaoBase(Collection<? extends QueryString> queries) -
Method Summary
Modifier and TypeMethodDescription<T> T<T> List<T>executeList(Object id, Class<T> clazz, Object... args) executeQuery(Object id, Object... args) Set the JDBC connection object to be used by the DAO.voidsetConnection(Connection conn) Retrieve the JDBC connection object that is currently associated with this DAO.protected voidsetPreparedStatement(Object id, String query)
-
Field Details
-
conn
-
queryToStmt
-
idToQuery
-
-
Constructor Details
-
SqlDaoBase
protected SqlDaoBase() -
SqlDaoBase
-
-
Method Details
-
setPreparedStatement
-
setConnection
Description copied from interface:SqlDaoRetrieve the JDBC connection object that is currently associated with this DAO.- Specified by:
setConnectionin interfaceSqlDao- Throws:
SQLException
-
execute
- Throws:
SQLException
-
executeList
- Throws:
SQLException
-
executeQuery
- Throws:
SQLException
-
getConnection
Description copied from interface:SqlDaoSet the JDBC connection object to be used by the DAO.- Specified by:
getConnectionin interfaceSqlDao
-