Class DropAliasConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DropAliasConstantAction
- All Implemented Interfaces:
ConstantAction
This class performs actions that are ALWAYS performed for a
DROP FUNCTION/PROCEDURE/SYNONYM statement at execution time.
All of these SQL objects are represented by an AliasDescriptor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final charprivate SchemaDescriptorFields inherited from interface ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT -
Constructor Summary
ConstructorsConstructorDescriptionDropAliasConstantAction(SchemaDescriptor sd, String aliasName, char nameSpace) Make the ConstantAction for a DROP ALIAS statement. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteConstantAction(Activation activation) This is the guts of the Execution-time logic for DROP ALIAS.toString()
-
Field Details
-
sd
-
aliasName
-
nameSpace
private final char nameSpace
-
-
Constructor Details
-
DropAliasConstantAction
DropAliasConstantAction(SchemaDescriptor sd, String aliasName, char nameSpace) Make the ConstantAction for a DROP ALIAS statement.- Parameters:
aliasName- Alias name.nameSpace- Alias name space.
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the Execution-time logic for DROP ALIAS.- Parameters:
activation- The execution environment for this constant action.- Throws:
StandardException- Thrown on failure- See Also:
-