com.splout.db.common
Interface ISQLiteManager
- All Known Implementing Classes:
- SQLite4JavaManager, SQLiteJDBCManager
public interface ISQLiteManager
Contract for implementing several SQL interfaces. We have implemented two for SQLite and we finally use only one in production.
This interface may be removed in the future.
Method Summary |
void |
close()
|
java.lang.String |
exec(java.lang.String query)
|
java.sql.Connection |
getConnectionFromPool()
|
java.lang.String |
query(java.lang.String query,
int maxResults)
|
exec
java.lang.String exec(java.lang.String query)
throws java.sql.SQLException,
JSONSerDe.JSONSerDeException
- Throws:
java.sql.SQLException
JSONSerDe.JSONSerDeException
query
java.lang.String query(java.lang.String query,
int maxResults)
throws java.sql.SQLException,
JSONSerDe.JSONSerDeException
- Throws:
java.sql.SQLException
JSONSerDe.JSONSerDeException
close
void close()
getConnectionFromPool
java.sql.Connection getConnectionFromPool()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2012-2013 Datasalt Systems S.L.. All Rights Reserved.