|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.CreateCommand
public abstract class CreateCommand
Abstract base for commands like CREATE TABLE and
CREATE SEQUENCE.
| Constructor Summary | |
|---|---|
CreateCommand()
|
|
| Method Summary | |
|---|---|
abstract boolean |
execute(Database db)
Executes an SQL statement that may return multiple results. |
AxionResultSet |
executeQuery(Database database)
Unsupported |
int |
executeUpdate(Database database)
Executes an SQL that may add, delete or modify zero or more rows within the database, such as an INSERT, UPDATE or DELETE statement. |
java.lang.String |
getObjectName()
|
boolean |
isIfNotExists()
|
void |
setIfNotExists(boolean flag)
|
void |
setObjectName(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateCommand()
| Method Detail |
|---|
public void setIfNotExists(boolean flag)
public boolean isIfNotExists()
public java.lang.String getObjectName()
public void setObjectName(java.lang.String name)
public abstract boolean execute(Database db)
throws AxionException
AxionCommand
ResultSets were generated,
false otherwise
AxionExceptionStatement.execute(java.lang.String),
PreparedStatement.execute()
public AxionResultSet executeQuery(Database database)
throws AxionException
ResultSet
AxionExceptionStatement.executeQuery(java.lang.String),
PreparedStatement.executeQuery()
public int executeUpdate(Database database)
throws AxionException
AxionCommand
AxionExceptionStatement.executeUpdate(java.lang.String),
PreparedStatement.executeUpdate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||