ConstantAction
class SetSchemaConstantAction extends java.lang.Object implements ConstantAction
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
schemaName |
|
private int |
type |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Constructor | Description |
---|---|
SetSchemaConstantAction(java.lang.String schemaName,
int type) |
Make the ConstantAction for a SET SCHEMA statement.
|
Modifier and Type | Method | Description |
---|---|---|
void |
executeConstantAction(Activation activation) |
This is the guts of the Execution-time logic for SET SCHEMA.
|
java.lang.String |
toString() |
SetSchemaConstantAction(java.lang.String schemaName, int type)
schemaName
- Name of schema.type
- type of set schema (e.g. SET_SCHEMA_DYNAMIC, SET_SCHEMA_USER)public java.lang.String toString()
toString
in class java.lang.Object
public void executeConstantAction(Activation activation) throws StandardException
executeConstantAction
in interface ConstantAction
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.