com.uwyn.rife.database.queries
Class DropTable
java.lang.Object
com.uwyn.rife.database.queries.DropTable
- All Implemented Interfaces:
- Query, Cloneable
public class DropTable
- extends Object
- implements Cloneable
Object representation of a SQL "DROP TABLE" query.
This object may be used to dynamically construct a SQL statement in a
database-independent fashion. After it is finished, it may be executed using
DbQueryManager.executeUpdate().
- Since:
- 1.0
- Version:
- $Revision: 3634 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com), Steven Grimm (koreth[remove] at midwinter dot com)
mDatasource
protected Datasource mDatasource
mSql
protected String mSql
mExcludeUnsupportedCapabilities
protected boolean mExcludeUnsupportedCapabilities
DropTable
public DropTable(Datasource datasource)
getTables
public List<String> getTables()
clear
public void clear()
- Specified by:
clear in interface Query
getCapabilities
public com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
- Specified by:
getCapabilities in interface Query
getSql
public String getSql()
throws DbQueryException
- Specified by:
getSql in interface Query
- Throws:
DbQueryException
table
public DropTable table(String table)
clone
public DropTable clone()
getDatasource
public Datasource getDatasource()
getParameters
public QueryParameters getParameters()
- Specified by:
getParameters in interface Query
setExcludeUnsupportedCapabilities
public void setExcludeUnsupportedCapabilities(boolean flag)
- Specified by:
setExcludeUnsupportedCapabilities in interface Query
clearGenerated
protected void clearGenerated()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.