org.apache.derby.impl.sql.execute
Class CreateViewConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.GenericConstantAction
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.CreateViewConstantAction
- All Implemented Interfaces:
- ConstantAction
- class CreateViewConstantAction
- extends DDLConstantAction
This class describes actions that are ALWAYS performed for a
CREATE VIEW Statement at Execution time.
- Author:
- Jerry Brenner.
Constructor Summary |
(package private) |
CreateViewConstantAction(java.lang.String schemaName,
java.lang.String tableName,
int tableType,
java.lang.String viewText,
int checkOption,
ColumnInfo[] columnInfo,
ProviderInfo[] providerInfo,
UUID compSchemaId)
Make the ConstantAction for a CREATE VIEW statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tableName
private final java.lang.String tableName
schemaName
private final java.lang.String schemaName
viewText
private final java.lang.String viewText
tableType
private final int tableType
checkOption
private final int checkOption
columnInfo
private final ColumnInfo[] columnInfo
providerInfo
private final ProviderInfo[] providerInfo
compSchemaId
private final UUID compSchemaId
CreateViewConstantAction
CreateViewConstantAction(java.lang.String schemaName,
java.lang.String tableName,
int tableType,
java.lang.String viewText,
int checkOption,
ColumnInfo[] columnInfo,
ProviderInfo[] providerInfo,
UUID compSchemaId)
- Make the ConstantAction for a CREATE VIEW statement.
- Parameters:
schemaName
- name for the schema that view lives in.tableName
- Name of table.tableType
- Type of table (e.g., BASE).viewText
- Text of query expression for view definitioncheckOption
- Check option typecolumnInfo
- Information on all the columns in the table.providerInfo
- Information on all the Providers
toString
public java.lang.String toString()
executeConstantAction
public void executeConstantAction(Activation activation)
throws StandardException
- This is the guts of the Execution-time logic for CREATE TABLE.
- Parameters:
activation
- The execution environment for this constant action.
- Throws:
StandardException
- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.