public class MySQLConnector extends DBConnector
con, databaseName, databaseUrl, documentTableName, documentTermsTableName, fieldsDocument, fieldsDocumentTerms, fieldsTerm, password, statement, statementEndCharacter, tableNamePrefix, termTableName, user
Constructor and Description |
---|
MySQLConnector(String databaseUrl,
String databaseName,
String user,
String password,
String tableNamePrefix) |
Modifier and Type | Method and Description |
---|---|
Connection |
openConnection()
Opens a Connection to the database
|
checkDBConnection, closeConnection, connect, createTable, doInsert, doInsert, doInsert, doInsert, executeSelect, executeUpdate, getDocumentTableName, getDocumentTermsTableName, getPreparedStatement, getTermTableName, setupTables
public Connection openConnection() throws SQLException
openConnection
in class DBConnector
SQLException
- if a database access error occurs or this method is called on a closed Statement