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

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.DDLConstantAction
      extended by org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
          extended by org.apache.derby.impl.sql.execute.ConstraintConstantAction
              extended by org.apache.derby.impl.sql.execute.DropConstraintConstantAction
All Implemented Interfaces:
ConstantAction

public class DropConstraintConstantAction
extends ConstraintConstantAction

This class describes actions that are ALWAYS performed for a drop constraint at Execution time.

Version:
0.1

Field Summary
private  boolean cascade
           
private  java.lang.String constraintSchemaName
           
private  int verifyType
           
 
Fields inherited from class org.apache.derby.impl.sql.execute.ConstraintConstantAction
constraintName, constraintType, indexAction, schemaId, schemaName, tableName
 
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
 
Constructor Summary
DropConstraintConstantAction(java.lang.String constraintName, java.lang.String constraintSchemaName, java.lang.String tableName, UUID tableId, java.lang.String tableSchemaName, IndexConstantAction indexAction, int behavior, int verifyType)
          Make one of these puppies.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for DROP CONSTRAINT.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.ConstraintConstantAction
getConstraintName, getConstraintType, getIndexAction, validateConstraint, validateFKConstraint
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cascade

private boolean cascade

constraintSchemaName

private java.lang.String constraintSchemaName

verifyType

private int verifyType
Constructor Detail

DropConstraintConstantAction

DropConstraintConstantAction(java.lang.String constraintName,
                             java.lang.String constraintSchemaName,
                             java.lang.String tableName,
                             UUID tableId,
                             java.lang.String tableSchemaName,
                             IndexConstantAction indexAction,
                             int behavior,
                             int verifyType)
Make one of these puppies.

Parameters:
constraintName - Constraint name.
constraintSchemaName - the schema that constraint lives in.
tableName - Table name.
tableId - UUID of table.
tableSchemaName - the schema that table lives in.
indexAction - IndexConstantAction for constraint (if necessary)
behavior - the drop behavior (e.g. StatementType.DROP_CASCADE)
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 DROP CONSTRAINT.

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 2011-03-10 11:54:14+0000, from revision ???

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