| 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.ConstraintConstantAction org.apache.derby.impl.sql.execute.CreateConstraintConstantAction
CreateConstraintConstantAction | public class CreateConstraintConstantAction extends ConstraintConstantAction (Code) | | This class describes actions that are ALWAYS performed for a
constraint creation at Execution time.
version: 0.1 author: Jerry Brenner |
Constructor Summary | |
| CreateConstraintConstantAction(String constraintName, int constraintType, String tableName, UUID tableId, String schemaName, String[] columnNames, IndexConstantAction indexAction, String constraintText, boolean enabled, ConstraintInfo otherConstraint, ProviderInfo[] providerInfo) Make one of these puppies. |
CreateConstraintConstantAction | CreateConstraintConstantAction(String constraintName, int constraintType, String tableName, UUID tableId, String schemaName, String[] columnNames, IndexConstantAction indexAction, String constraintText, boolean enabled, ConstraintInfo otherConstraint, ProviderInfo[] providerInfo)(Code) | | Make one of these puppies.
Parameters: constraintName - Constraint name. Parameters: constraintType - Constraint type. Parameters: tableName - Table name. Parameters: tableId - UUID of table. Parameters: schemaName - the schema that table and constraint lives in. Parameters: columnNames - String[] for column names Parameters: indexAction - IndexConstantAction for constraint (if necessary) Parameters: constraintText - Text for check constraintRESOLVE - the next parameter should go away once we use UUIDs(Generated constraint names will be based off of uuids) Parameters: enabled - Should the constraint be created as enabled (enabled == true), or disabled (enabled == false). Parameters: otherConstraint - information about the constraint that this references Parameters: providerInfo - Information on all the Providers |
getColumnNames | public String[] getColumnNames()(Code) | | Get the names of the columns touched by this constraint.
the array of touched column names. |
getConstraintText | public String getConstraintText()(Code) | | Get the text defining this constraint.
constraint text |
isForeignKeyConstraint | public boolean isForeignKeyConstraint()(Code) | | Is the constant action for a foreign key
true/false |
Fields inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction | protected UUID tableId(Code)(Java Doc)
|
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)
|
|
|