org.axiondb.engine.commands
Class CreateViewCommand

java.lang.Object
  extended byorg.axiondb.engine.commands.BaseAxionCommand
      extended byorg.axiondb.engine.commands.CreateCommand
          extended byorg.axiondb.engine.commands.CreateViewCommand
All Implemented Interfaces:
AxionCommand

public class CreateViewCommand
extends CreateCommand

A CREATE VIEW AS sub-query command.

TODO: support for CREATE VIEW table_name [ ( column_name1, column_name2, ... ) ]...

Version:
$Revision: 1.8 $ $Date: 2004/09/09 18:36:39 $

Constructor Summary
CreateViewCommand()
           
 
Method Summary
 boolean execute(Database db)
          Executes an SQL statement that may return multiple results.
 void setSubQuery(String query)
           
 
Methods inherited from class org.axiondb.engine.commands.CreateCommand
executeQuery, executeUpdate, getObjectName, isIfNotExists, setIfNotExists, setObjectName
 
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand
appendBindVariables, assertNotReadOnly, attemptToConvertValue, bind, clearBindings, getBindVariableIterator, getEffectedRowCount, getResultSet, getRowIterator, getRowIterator, getTableForIdentifier, resolveSelectableList, resolveSelectableList, setEffectedRowCount, setResultSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateViewCommand

public CreateViewCommand()
Method Detail

setSubQuery

public void setSubQuery(String query)

execute

public boolean execute(Database db)
                throws AxionException
Description copied from interface: AxionCommand
Executes an SQL statement that may return multiple results.

Specified by:
execute in interface AxionCommand
Specified by:
execute in class CreateCommand
Throws:
AxionException