Class SetSchemaConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.SetSchemaConstantAction
- All Implemented Interfaces:
ConstantAction
This class describes actions that are ALWAYS performed for a
SET SCHEMA Statement at Execution time.
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionSetSchemaConstantAction
(String schemaName, int type) Make the ConstantAction for a SET SCHEMA statement. -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeConstantAction
(Activation activation) This is the guts of the Execution-time logic for SET SCHEMA.toString()
-
Field Details
-
schemaName
-
type
private final int type
-
-
Constructor Details
-
SetSchemaConstantAction
SetSchemaConstantAction(String schemaName, int type) Make the ConstantAction for a SET SCHEMA statement.- Parameters:
schemaName
- Name of schema.type
- type of set schema (e.g. SET_SCHEMA_DYNAMIC, SET_SCHEMA_USER)
-
-
Method Details
-
toString
-
executeConstantAction
This is the guts of the Execution-time logic for SET SCHEMA.- Specified by:
executeConstantAction
in interfaceConstantAction
- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure- See Also:
-