| Modifier and Type | Field and Description |
|---|---|
| private ClassFactory | |
| private boolean[] | |
| private String[] | |
| private String | |
| private boolean | |
| private final boolean | |
| private ConstraintInfo | |
| private ProviderInfo[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | CreateConstraintConstantAction(String
Constraint name. constraintName, int Constraint type. constraintType, boolean[] Constraint characteristics characteristics, boolean Constraint is being added for a CREATE TABLE forCreateTable, String Table name. tableName, UUID UUID of table. tableId, String the schema that table and constraint lives in. schemaName, String[] String[] for column names columnNames, IndexConstantAction IndexConstantAction for constraint (if necessary) indexAction, String Text for check constraint constraintText, ConstraintInfo information about the constraint that this references otherConstraint, ProviderInfo[] Information on all the Providers providerInfo)Make one of these puppies. |
| Modifier and Type | Method and Description |
|---|---|
| public void | executeConstantAction(Activation
The execution environment for this constant action. activation)Implements org. This is the guts of the Execution-time logic for CREATE CONSTRAINT. |
| private int[] | Returns: int[] The column positions.The TableDescriptor for the table in question td, boolean true for primaryKey and unique constraints columnsMustBeOrderable)Generate an array of column positions for the column list in the constraint. |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| public String |
| cf | back to summary |
|---|---|
| private ClassFactory cf | |
| characteristics | back to summary |
|---|---|
| private boolean[] characteristics | |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| constraintText | back to summary |
|---|---|
| private String constraintText | |
| enabled | back to summary |
|---|---|
| private boolean enabled | |
| forCreateTable | back to summary |
|---|---|
| private final boolean forCreateTable | |
| otherConstraintInfo | back to summary |
|---|---|
| private ConstraintInfo otherConstraintInfo | |
| providerInfo | back to summary |
|---|---|
| private ProviderInfo[] providerInfo | |
| CreateConstraintConstantAction | back to summary |
|---|---|
| pack-priv CreateConstraintConstantAction(String constraintName, int constraintType, boolean[] characteristics, boolean forCreateTable, String tableName, UUID tableId, String schemaName, String[] columnNames, IndexConstantAction indexAction, String constraintText, ConstraintInfo otherConstraint, ProviderInfo[] providerInfo) Make one of these puppies.
| |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation) throws StandardException Implements org. This is the guts of the Execution-time logic for CREATE CONSTRAINT. A constraint is represented as:
Dependencies are created as:
| |
| genColumnPositions | back to summary |
|---|---|
| private int[] genColumnPositions(TableDescriptor td, boolean columnsMustBeOrderable) throws StandardException Generate an array of column positions for the column list in the constraint.
| |
| getConstraintText | back to summary |
|---|---|
| pack-priv String getConstraintText() Get the text defining this constraint.
| |
| isForeignKeyConstraint | back to summary |
|---|---|
| pack-priv boolean isForeignKeyConstraint() Is the constant action for a foreign key
| |
| isInitiallyDeferred | back to summary |
|---|---|
| pack-priv boolean isInitiallyDeferred() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |