com.jdc.rdb.sql.ddl.drop
Class IfExists
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLClause
|
+--com.jdc.rdb.sql.ddl.DDLClause
|
+--com.jdc.rdb.sql.ddl.drop.IfExists
- All Implemented Interfaces:
- Clause, DropClause, Serializable
- public class IfExists
- extends DDLClause
- implements DropClause
IfExists represents a Drop
SQL statement IF EXISTS clause. The optional
IF EXISTS clause specifies that a Database object
should be dropped only if it exists.
- Note:
- This
SQL statement clause is not compatible with the
ANSI SQL-92 standard.
- Version:
- 2.0
- Author:
- Jay Damon
- See Also:
Drop,
Serialized Form
|
Constructor Summary |
IfExists()
Constructs a new IfExists clause object. |
IfExists
public IfExists()
- Constructs a new
IfExists clause object.
getKeyword
public String getKeyword()
- Returns the
IfExists clause keyword.
- Overrides:
getKeyword in class SQLClause
- Returns:
- The
IfExists clause keyword.
toString
public String toString()
- Returns a
String representation of this IfExists clause.
- Specified by:
toString in interface DropClause- Overrides:
toString in class SQLClause
- Returns:
- A
String representation of this IfExists clause.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.