Documentation of 'org.apache.derby.impl.sql.execute.CreateConstraintConstantAction' Java class
CreateConstraintConstantAction
org.apache.derby.impl.sql.execute

Class CreateConstraintConstantAction

  • All Implemented Interfaces:
    ConstantAction


    public class CreateConstraintConstantAction
    extends ConstraintConstantAction
    This class describes actions that are ALWAYS performed for a constraint creation at Execution time.
    • Method Detail

      • executeConstantAction

        public void executeConstantAction(Activation activation)
                                   throws StandardException
        This is the guts of the Execution-time logic for CREATE CONSTRAINT.

        A constraint is represented as:

        • ConstraintDescriptor.
        If a backing index is required then the index will be created through an CreateIndexConstantAction setup by the compiler.
        Dependencies are created as:
        • ConstraintDescriptor depends on all the providers collected at compile time and passed into the constructor.
        • For a FOREIGN KEY constraint ConstraintDescriptor depends on the ConstraintDescriptor for the referenced constraints and the privileges required to create the constraint.
        Parameters:
        activation - The execution environment for this constant action.
        Throws:
        StandardException - Thrown on failure
        See Also:
        ConstraintDescriptor, CreateIndexConstantAction, ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.