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

pack-priv Class DropIndexConstantAction

extends IndexConstantAction
Class Inheritance
Imports
org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.sql.depend.Dependency, .Dependent, .DependencyManager, org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor, .DataDescriptorGenerator, .DataDictionary, .SchemaDescriptor, .TableDescriptor, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.sql.execute.ConstantAction, org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.store.access.TransactionController, org.apache.derby.catalog.UUID, java.util.Enumeration

This class describes actions that are ALWAYS performed for a DROP INDEX Statement at Execution time.

Field Summary

Modifier and TypeField and Description
private String
private long
Inherited from org.apache.derby.impl.sql.execute.IndexConstantAction:
constraintIDindexNameschemaNametableName

Constructor Summary

AccessConstructor and Description
pack-priv
DropIndexConstantAction(String
Fully qualified index name
fullIndexName
,
String
Index name.
indexName
,
String
The table name
tableName
,
String
Schema that index lives in.
schemaName
,
UUID
UUID for table
tableId
,
long
heap Conglomerate Id for table
tableConglomerateId
)

Make the ConstantAction for a DROP INDEX 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 DROP INDEX.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.IndexConstantAction:
getIndexNamesetConstraintIDsetIndexName

Field Detail

fullIndexNameback to summary
private String fullIndexName
tableConglomerateIdback to summary
private long tableConglomerateId

Constructor Detail

DropIndexConstantActionback to summary
pack-priv DropIndexConstantAction(String fullIndexName, String indexName, String tableName, String schemaName, UUID tableId, long tableConglomerateId)

Make the ConstantAction for a DROP INDEX statement.

Parameters
fullIndexName:String

Fully qualified index name

indexName:String

Index name.

tableName:String

The table name

schemaName:String

Schema that index lives in.

tableId:UUID

UUID for table

tableConglomerateId:long

heap Conglomerate Id for table

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 DROP INDEX.

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
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