| java.lang.Object org.apache.derby.impl.sql.execute.GenericConstantAction org.apache.derby.impl.sql.execute.DDLConstantAction org.apache.derby.impl.sql.execute.SetConstraintsConstantAction
SetConstraintsConstantAction | class SetConstraintsConstantAction extends DDLConstantAction (Code) | | This class describes actions that are performed for a
set constraint at Execution time.
Note that the dependency action we send is SET_CONSTRAINTS
rather than ALTER_TABLE. We do this because we want
to distinguish SET_CONSTRAINTS from ALTER_TABLE for
error messages.
author: jamie |
Constructor Summary | |
| SetConstraintsConstantAction(ConstraintDescriptorList cdl, boolean enable, boolean unconditionallyEnforce) Boilerplate
Parameters: cdl - ConstraintDescriptorList Parameters: enable - true == turn them on, false == turn them off Parameters: unconditionallyEnforce - Replication sets this to true atthe end of REFRESH. |
SetConstraintsConstantAction | SetConstraintsConstantAction(ConstraintDescriptorList cdl, boolean enable, boolean unconditionallyEnforce)(Code) | | Boilerplate
Parameters: cdl - ConstraintDescriptorList Parameters: enable - true == turn them on, false == turn them off Parameters: unconditionallyEnforce - Replication sets this to true atthe end of REFRESH. This forces usto run the included foreign key constraints evenif they're already marked ENABLED. |
publishToTargets | protected void publishToTargets(Activation activation) throws StandardException(Code) | | Do the work of publishing any this action to any
replication targets. On a non-replicated source,
this is a no-op.
Parameters: activation - the activation exception: StandardException - on error |
Methods inherited from org.apache.derby.impl.sql.execute.DDLConstantAction | protected String constructToString(String statementType, String objectName)(Code)(Java Doc) static SchemaDescriptor getAndCheckSchemaDescriptor(DataDictionary dd, UUID schemaId, String statementType) throws StandardException(Code)(Java Doc) static SchemaDescriptor getSchemaDescriptorForCreate(DataDictionary dd, Activation activation, String schemaName) throws StandardException(Code)(Java Doc) final void lockTableForDDL(TransactionController tc, long heapConglomerateNumber, boolean exclusiveMode) throws StandardException(Code)(Java Doc) protected void storeConstraintDependenciesOnPrivileges(Activation activation, Dependent dependent, UUID refTableUUID) throws StandardException(Code)(Java Doc) protected void storeViewTriggerDependenciesOnPrivileges(Activation activation, Dependent dependent) throws StandardException(Code)(Java Doc)
|
|
|