Class DropIndexConstantAction
- java.lang.Object
-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fullIndexName
private long
tableConglomerateId
-
Fields inherited from class org.apache.derby.impl.sql.execute.IndexConstantAction
constraintID, indexName, schemaName, tableName
-
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for DROP INDEX.java.lang.String
toString()
-
Methods inherited from class org.apache.derby.impl.sql.execute.IndexConstantAction
getIndexName, setConstraintID, setIndexName
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-