|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--tppt.db.DBHandler
|
+--tppt.db.SybaseHandler
SybaseHandler is the class that implements the Sybase dependent
methods in order to run the tool on the Sybase. This class extends the DBHandler
so it inherits all the implemented methods from its parents but it has its own
behavior for the abstract methods and that is reuqired to implement in this
class.
DBHandler| Fields inherited from class tppt.db.DBHandler |
connection |
| Constructor Summary | |
SybaseHandler()
|
|
| Method Summary | |
void |
dropStoredProcedures()
Drop all the user-created store procedures. |
void |
dropTables()
Clean up the database, including all the user databases and constriants. |
boolean |
setMaxRowsForTable(java.sql.CallableStatement sp,
java.lang.String table)
Set up the maximum-rows-per-page for specific table. |
boolean |
setMaxRowsPerPage()
Set up the maximum row per page for all the user created tables. |
| Methods inherited from class tppt.db.DBHandler |
closeConnection, closeReader, dbConnection, dropATable, dropConstraint, dropSP, executeStmt, initDB, initStatement, main, SQLFileExecutor, twoPhaseDBInit |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public SybaseHandler()
| Method Detail |
public void dropStoredProcedures()
dropStoredProcedures in class DBHandlerDBHandler.dropSP(String)public void dropTables()
dropTables in class DBHandlerDBHandler.dropConstraint(String,String),
DBHandler.dropATable(String)
public boolean setMaxRowsForTable(java.sql.CallableStatement sp,
java.lang.String table)
setMaxRowsForTable in class DBHandlersp - the CallableStatement to execute the maximun-rows setup.table - the table name.public boolean setMaxRowsPerPage()
setMaxRowsPerPage in class DBHandlersetMaxRowsForTable(CallableStatement,String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||