|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object RawDataManager.RawDataManager RawDataManager.RawDataManagerMySQL
public abstract class RawDataManagerMySQL
Extends Raw Data Manager functionalities for a MySQL DB.
Field Summary | |
---|---|
protected Utils.MySQL.MySQLConnector |
conn
The DB connection |
protected java.lang.String |
table
Name of the features table in the database |
Constructor Summary | |
---|---|
RawDataManagerMySQL(java.lang.String host,
java.lang.String port,
java.lang.String usr,
java.lang.String pwd,
java.lang.String db,
java.lang.String table)
Basic constructor. |
Method Summary | |
---|---|
void |
closeConnection()
Closes the connection to the features DB. |
void |
createConnection()
Connects to the feature DB. |
java.lang.String |
findURL(Document.ImageID ID)
Retrieves the URL of an image with a given ID. |
Methods inherited from class RawDataManager.RawDataManager |
---|
contains, findID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String table
protected Utils.MySQL.MySQLConnector conn
Constructor Detail |
---|
public RawDataManagerMySQL(java.lang.String host, java.lang.String port, java.lang.String usr, java.lang.String pwd, java.lang.String db, java.lang.String table)
host
- Host name for the DB connection.port
- Port name for the DB connection.usr
- Username for the DB connection.pwd
- Password for the DB connection.db
- Name of the raw data database.table
- Name of the raw data table.Method Detail |
---|
public void createConnection()
createConnection
in class RawDataManager
public void closeConnection()
closeConnection
in class RawDataManager
public java.lang.String findURL(Document.ImageID ID)
findURL
in class RawDataManager
ID
- ID of the image to be searched.
null
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |