|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproper.core.ProperObject
proper.database.ConnectorObject
proper.database.ExecutorObject
proper.database.Dropper
public class Dropper
This class is just a convenient way for dropping tables.
Field Summary |
---|
Fields inherited from interface proper.core.ProperInterface |
---|
VERSION |
Constructor Summary | |
---|---|
Dropper(Connector conn)
initializes the object |
Method Summary | |
---|---|
boolean |
drop(java.lang.String table)
drops the given table |
boolean |
drop(Table table)
drops the given table |
boolean |
drop(java.util.Vector tables)
here we drop a bunch of tables, if at least one drop succeeds we return TRUE otherwise FALSE |
boolean |
dropAll()
drops all tables in the current database |
Methods inherited from class proper.database.ExecutorObject |
---|
getExecutor, getLastException, getLastStatement |
Methods inherited from class proper.database.ConnectorObject |
---|
getConnector |
Methods inherited from class proper.core.ProperObject |
---|
addListener, addOutput, classInVerbose, debugprint, debugprint, debugprint, debugprint, debugprintln, debugprintln, debugprintln, debugprintln, debugprintln, getListeners, getRuntime, getVerbose, getVerboseLevel, getVerboseLevelForClass, getVerboseString, getVerboseStringForClass, notifyListener, notifyListeners, print, print, print, print, println, println, println, println, println, printMemory, removeListener, setOutput, setVerbose, setVerboseLevel, setVerboseString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dropper(Connector conn)
Method Detail |
---|
public boolean drop(java.lang.String table)
public boolean drop(Table table)
public boolean drop(java.util.Vector tables)
public boolean dropAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |