uk.ac.manchester.gong.bong.hypersonic
Class SQLDealer
java.lang.Object
uk.ac.manchester.gong.bong.hypersonic.SQLDealer
public class SQLDealer
- extends java.lang.Object
This class stores the results in an Hypersonic DB
called "bong". The table name is provided by the user,
it should something like "bong1"
|
Constructor Summary |
SQLDealer(java.lang.String tablename)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLDealer
public SQLDealer(java.lang.String tablename)
connect
public void connect()
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
disconnect
public void disconnect()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
dropTable
public void dropTable()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createTable
public void createTable()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
injectResult
public void injectResult(int id,
java.lang.String origin,
java.lang.String relationship,
java.lang.String filler)
throws java.sql.SQLException
- Throws:
java.sql.SQLException