|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQL
|
+--com.jdc.rdb.sql.ddl.DDL
|
+--com.jdc.rdb.sql.ddl.alter.Alter
Alter represents a Data Definition Language ALTER
SQL statement. The Alter statement alters an
existing Database Table.
Table,
Serialized Form| Field Summary | |
static String |
COMMAND
The Alter statement command keyword. |
| Fields inherited from class com.jdc.rdb.sql.ddl.DDL |
sql |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
Alter()
Constructs a new Alter statement object. |
|
Alter(String statement)
Constructs a new Alter statement object for the specified
SQL String. |
|
Alter(Table table)
Constructs a new Alter statement object for the specified
Database Table definition. |
|
| Method Summary | |
AlterStatus |
execute()
Executes the Alter statement and returns
a AlterStatus object. |
Alter |
set(AlterClause clause)
Sets a AlterClause for this Alter statement. |
| Methods inherited from class com.jdc.rdb.sql.ddl.DDL |
finalize, getConnection, getDatabase, getObject, isValid, setObject |
| Methods inherited from class com.jdc.rdb.sql.SQL |
addClause, execute, getClause, getCommand, getStatement, setCommand, setConnection, setStatement, toString |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String COMMAND
Alter statement command keyword.
| Constructor Detail |
public Alter()
Alter statement object.
public Alter(Table table)
Alter statement object for the specified
Database Table definition.
SQLInvalidException - No table definition is specified.public Alter(String statement)
Alter statement object for the specified
SQL String. If you specify a
custom SQL String, you must also specify
a Database Connection to use.
SQLInvalidException - No ALTER statement is specified.SQL.setConnection(java.sql.Connection)| Method Detail |
public AlterStatus execute()
Alter statement and returns
a AlterStatus object.
Alter statement status.public Alter set(AlterClause clause)
AlterClause for this Alter statement. Use
this method to specify a custom Alter clause.
Alter statement object.
SQLInvalidException - No ALTER statement clause is specified.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||