org.axiondb.engine.commands
Class CreateViewCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.CreateCommand
org.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 $
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 |
CreateViewCommand
public CreateViewCommand()
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
- Returns:
- true if one or more
ResultSet
s
were generated, false otherwise
- Throws:
AxionException
- See Also:
Statement.execute(java.lang.String)
,
PreparedStatement.execute()