|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.utilities.rebuild.SQLRebuilder
public class SQLRebuilder
A Rebuilder for the SQL database.
| Constructor Summary | |
|---|---|
SQLRebuilder()
|
|
| Method Summary | |
|---|---|
void |
addObject(DigitalObject obj)
Add the data of interest for the given object. |
void |
executeSql(java.sql.Connection connection,
java.lang.String sql)
|
void |
finish()
Free up any system resources associated with rebuilding. |
java.lang.String |
getAction()
Get a short phrase describing what the user can do with this rebuilder. |
static java.util.List |
getExistingTables(java.sql.Connection conn)
|
java.util.Map |
init(java.io.File serverDir,
ServerConfiguration serverConfig)
Initialize the rebuilder, given the server configuration. |
boolean |
shouldStopServer()
Returns true is the server _must_ be shut down for this rebuilder to safely operate. |
void |
start(java.util.Map options)
Validate the provided options and perform any necessary startup tasks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLRebuilder()
| Method Detail |
|---|
public java.lang.String getAction()
getAction in interface Rebuilderpublic boolean shouldStopServer()
shouldStopServer in interface Rebuilder
public java.util.Map init(java.io.File serverDir,
ServerConfiguration serverConfig)
init in interface Rebuilder
public void start(java.util.Map options)
throws java.lang.Exception
start in interface Rebuilderjava.lang.Exception
public static java.util.List getExistingTables(java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLException
public void executeSql(java.sql.Connection connection,
java.lang.String sql)
throws LowlevelStorageException
LowlevelStorageExceptionpublic void addObject(DigitalObject obj)
addObject in interface Rebuilderpublic void finish()
finish in interface Rebuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||