Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

pack-priv Class SetSchemaConstantAction

extends Object
implements ConstantAction
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.sql.execute.ConstantAction
Imports
org.apache.derby.iapi.sql.execute.ConstantAction, org.apache.derby.iapi.sql.dictionary.DataDictionary, .SchemaDescriptor, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.sql.ParameterValueSet, .StatementType, .Activation, org.apache.derby.iapi.types.DataValueDescriptor, org.apache.derby.shared.common.reference.Limits, .SQLState, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.sanity.SanityManager

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

Field Summary

Modifier and TypeField and Description
private final String
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
SetSchemaConstantAction(String
Name of schema.
schemaName
,
int
type of set schema (e.g. SET_SCHEMA_DYNAMIC, SET_SCHEMA_USER)
type
)

Make the ConstantAction for a SET SCHEMA statement.

Method Summary

Modifier and TypeMethod and Description
public void
executeConstantAction(Activation
The execution environment for this constant action.
activation
)

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for SET SCHEMA.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

schemaNameback to summary
private final String schemaName
typeback to summary
private final int type

Constructor Detail

SetSchemaConstantActionback to summary
pack-priv SetSchemaConstantAction(String schemaName, int type)

Make the ConstantAction for a SET SCHEMA statement.

Parameters
schemaName:String

Name of schema.

type:int

type of set schema (e.g. SET_SCHEMA_DYNAMIC, SET_SCHEMA_USER)

Method Detail

executeConstantActionback to summary
public void executeConstantAction(Activation activation) throws StandardException

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for SET SCHEMA.

Parameters
activation:Activation

Doc from org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

The execution environment for this constant action.

Exceptions
StandardException:
Thrown on failure
See Also
ConstantAction#executeConstantAction
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object