org.apache.derby.impl.sql.execute
Class DropIndexConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.GenericConstantAction
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
org.apache.derby.impl.sql.execute.IndexConstantAction
org.apache.derby.impl.sql.execute.DropIndexConstantAction
- All Implemented Interfaces:
- ConstantAction
- class DropIndexConstantAction
- extends IndexConstantAction
This class describes actions that are ALWAYS performed for a
DROP INDEX Statement at Execution time.
- Author:
- Jeff Lichtman Cribbed from DropTableConstantAction
Constructor Summary |
(package private) |
DropIndexConstantAction(java.lang.String fullIndexName,
java.lang.String indexName,
java.lang.String tableName,
java.lang.String schemaName,
UUID tableId,
long tableConglomerateId)
Make the ConstantAction for a DROP INDEX statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fullIndexName
private java.lang.String fullIndexName
tableConglomerateId
private long tableConglomerateId
DropIndexConstantAction
DropIndexConstantAction(java.lang.String fullIndexName,
java.lang.String indexName,
java.lang.String tableName,
java.lang.String schemaName,
UUID tableId,
long tableConglomerateId)
- Make the ConstantAction for a DROP INDEX statement.
- Parameters:
fullIndexName
- Fully qualified index nameindexName
- Index name.tableName
- The table nameschemaName
- Schema that index lives in.tableId
- UUID for tabletableConglomerateId
- heap Conglomerate Id for table
toString
public java.lang.String toString()
executeConstantAction
public void executeConstantAction(Activation activation)
throws StandardException
- This is the guts of the Execution-time logic for DROP INDEX.
- Parameters:
activation
- The execution environment for this constant action.
- Throws:
StandardException
- Thrown on failure
dropIndex
public static void dropIndex(DependencyManager dm,
DataDictionary dd,
TransactionController tc,
ConglomerateDescriptor cd,
TableDescriptor td,
Activation act)
throws StandardException
- Throws:
StandardException
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.