com.jdc.rdb.sql.ddl.create
Class IfNotExists
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLClause
|
+--com.jdc.rdb.sql.ddl.DDLClause
|
+--com.jdc.rdb.sql.ddl.create.IfNotExists
- All Implemented Interfaces:
- Clause, CreateClause, Serializable
- public class IfNotExists
- extends DDLClause
- implements CreateClause
IfNotExists represents a Create
SQL statement IF NOT EXISTS clause. The optional
IF NOT 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:
Create,
Serialized Form
|
Constructor Summary |
IfNotExists()
Constructs a new IfNotExists clause object. |
|
Method Summary |
String |
getKeyword()
Returns the IfNotExists clause keyword. |
String |
toString()
Returns a String representation of this IfNotExists clause. |
IfNotExists
public IfNotExists()
- Constructs a new
IfNotExists clause object.
getKeyword
public String getKeyword()
- Returns the
IfNotExists clause keyword.
- Overrides:
getKeyword in class SQLClause
- Returns:
- The
IfNotExists clause keyword.
toString
public String toString()
- Returns a
String representation of this IfNotExists clause.
- Specified by:
toString in interface CreateClause- Overrides:
toString in class SQLClause
- Returns:
- A
String representation of this IfNotExists clause.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.