public class CreateViewCommand extends CreateCommand
CREATE VIEW AS sub-query
command.
TODO: support for CREATE VIEW table_name [ ( column_name1, column_name2, ... ) ]...
Constructor and Description |
---|
CreateViewCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results.
|
void |
setSubQuery(java.lang.String query) |
executeQuery, executeUpdate, getObjectName, isIfNotExists, setIfNotExists, setObjectName
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
public void setSubQuery(java.lang.String query)
public boolean execute(Database db) throws AxionException
AxionCommand
execute
in interface AxionCommand
execute
in class CreateCommand
ResultSet
s were generated,
false otherwiseAxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()