Class DropViewConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.DDLConstantAction
-
- org.apache.derby.impl.sql.execute.DropViewConstantAction
-
- All Implemented Interfaces:
ConstantAction
class DropViewConstantAction extends DDLConstantAction
This class describes actions that are ALWAYS performed for a DROP VIEW Statement at Execution time.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfullTableNameprivate SchemaDescriptorsdprivate java.lang.StringtableName-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description DropViewConstantAction(java.lang.String fullTableName, java.lang.String tableName, SchemaDescriptor sd)Make the ConstantAction for a DROP VIEW statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteConstantAction(Activation activation)This is the guts of the Execution-time logic for DROP VIEW.java.lang.StringtoString()-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
-
-
-
Field Detail
-
fullTableName
private java.lang.String fullTableName
-
tableName
private java.lang.String tableName
-
sd
private SchemaDescriptor sd
-
-
Constructor Detail
-
DropViewConstantAction
DropViewConstantAction(java.lang.String fullTableName, java.lang.String tableName, SchemaDescriptor sd)Make the ConstantAction for a DROP VIEW statement.- Parameters:
fullTableName- Fully qualified table nametableName- Table name.sd- Schema that view lives in.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
executeConstantAction
public void executeConstantAction(Activation activation) throws StandardException
This is the guts of the Execution-time logic for DROP VIEW.- Parameters:
activation- The execution environment for this constant action.- Throws:
StandardException- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
-
-