Class SQLiteHandler
- java.lang.Object
-
- es.bsc.dataclay.dbhandler.sql.SQLHandler<SQLiteHandlerConfig>
-
- es.bsc.dataclay.dbhandler.sql.sqlite.SQLiteHandler
-
- All Implemented Interfaces:
DBHandler
public class SQLiteHandler extends SQLHandler<SQLiteHandlerConfig>
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.dbhandler.sql.SQLHandler
configuration, dataSource, DEBUG_ENABLED
-
-
Constructor Summary
Constructors Constructor Description SQLiteHandler(SQLiteHandlerConfig connConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createDatabase()
boolean
databaseExists()
void
dropAllDatabases()
Drop all databases.protected void
initDataSource()
-
Methods inherited from class es.bsc.dataclay.dbhandler.sql.SQLHandler
close, count, createTables, delete, exists, get, getConfiguration, getDataSource, isClosed, open, store, update, vacuum
-
-
-
-
Constructor Detail
-
SQLiteHandler
public SQLiteHandler(SQLiteHandlerConfig connConfig)
-
-
Method Detail
-
initDataSource
protected void initDataSource()
- Specified by:
initDataSource
in classSQLHandler<SQLiteHandlerConfig>
-
databaseExists
public boolean databaseExists()
- Specified by:
databaseExists
in classSQLHandler<SQLiteHandlerConfig>
-
createDatabase
public void createDatabase()
- Specified by:
createDatabase
in classSQLHandler<SQLiteHandlerConfig>
-
dropAllDatabases
public void dropAllDatabases()
Description copied from class:SQLHandler
Drop all databases. FOR TESTING PURPOSES.- Specified by:
dropAllDatabases
in classSQLHandler<SQLiteHandlerConfig>
-
-