org.apache.derby.impl.sql.execute
Class SetSchemaConstantAction

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.SetSchemaConstantAction
All Implemented Interfaces:
ConstantAction

 class SetSchemaConstantAction
extends java.lang.Object
implements ConstantAction

This class describes actions that are ALWAYS performed for a SET SCHEMA Statement at Execution time.


Field Summary
private  java.lang.String schemaName
           
private  int type
           
 
Constructor Summary
SetSchemaConstantAction(java.lang.String schemaName, int type)
          Make the ConstantAction for a SET SCHEMA statement.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for SET SCHEMA.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

schemaName

private final java.lang.String schemaName

type

private final int type
Constructor Detail

SetSchemaConstantAction

SetSchemaConstantAction(java.lang.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 Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

executeConstantAction

public void executeConstantAction(Activation activation)
                           throws StandardException
This is the guts of the Execution-time logic for SET SCHEMA.

Specified by:
executeConstantAction in interface ConstantAction
Parameters:
activation - The execution environment for this constant action.
Throws:
StandardException - Thrown on failure
See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.