| Modifier and Type | Field and Description |
|---|---|
| private UUID | |
| private String | |
| private int | |
| private boolean | |
| private boolean | |
| private boolean | |
| private String | |
| private String | |
| private String | |
| private final String | |
| private final ProviderInfo[] | |
| private int[] | |
| private int[] | |
| private boolean | |
| private boolean | |
| private UUID | |
| private String | |
| private String | |
| private TableDescriptor | |
| private UUID | |
| private UUID | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | CreateTriggerConstantAction(String
name for the schema that trigger lives in. triggerSchemaName, String Name of trigger triggerName, int TriggerDescriptor.TRIGGER_EVENT_XXXX eventMask, boolean is this a before (as opposed to after) trigger isBefore, boolean is this a row trigger or statement trigger isRow, boolean is this trigger enabled or disabled isEnabled, TableDescriptor the table upon which this trigger is defined triggerTable, UUID the sps id for the when clause (may be null) whenSPSId, String the text of the when clause (may be null) whenText, UUID the spsid for the trigger action (may be null) actionSPSId, String the text of the trigger action actionText, UUID the compilation schema for the action and when
spses. If null, will be set to the current default
schema spsCompSchemaId, int[] what columns does this trigger reference (may be null) referencedCols, int[] what columns does the trigger
action reference through old/new transition variables
(may be null) referencedColsInTriggerAction, String The original user text of the WHEN clause (may be null) originalWhenText, String The original user text of the trigger action originalActionText, boolean whether or not OLD appears in REFERENCING clause referencingOld, boolean whether or not NEW appears in REFERENCING clause referencingNew, String old referencing table name, if any, that appears in REFERENCING clause oldReferencingName, String new referencing table name, if any, that appears in REFERENCING clause newReferencingName, ProviderInfo[] array of providers that the trigger depends on providerInfo)Make the ConstantAction for a CREATE TRIGGER statement. |
| Modifier and Type | Method and Description |
|---|---|
| private SPSDescriptor | createSPS(LanguageConnectionContext lcc, DataDescriptorGenerator ddg, DataDictionary dd, TransactionController tc, UUID triggerId, SchemaDescriptor sd, UUID spsId, UUID compSchemaId, String text, boolean isWhen, TableDescriptor triggerTable)
|
| 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 TRIGGER. |
| private Timestamp | |
| public String |
| actionSPSId | back to summary |
|---|---|
| private UUID actionSPSId | |
| actionText | back to summary |
|---|---|
| private String actionText | |
| eventMask | back to summary |
|---|---|
| private int eventMask | |
| isBefore | back to summary |
|---|---|
| private boolean isBefore | |
| isEnabled | back to summary |
|---|---|
| private boolean isEnabled | |
| isRow | back to summary |
|---|---|
| private boolean isRow | |
| newReferencingName | back to summary |
|---|---|
| private String newReferencingName | |
| oldReferencingName | back to summary |
|---|---|
| private String oldReferencingName | |
| originalActionText | back to summary |
|---|---|
| private String originalActionText | |
| originalWhenText | back to summary |
|---|---|
| private final String originalWhenText | |
| providerInfo | back to summary |
|---|---|
| private final ProviderInfo[] providerInfo | |
| referencedCols | back to summary |
|---|---|
| private int[] referencedCols | |
| referencedColsInTriggerAction | back to summary |
|---|---|
| private int[] referencedColsInTriggerAction | |
| referencingNew | back to summary |
|---|---|
| private boolean referencingNew | |
| referencingOld | back to summary |
|---|---|
| private boolean referencingOld | |
| spsCompSchemaId | back to summary |
|---|---|
| private UUID spsCompSchemaId | |
| triggerName | back to summary |
|---|---|
| private String triggerName | |
| triggerSchemaName | back to summary |
|---|---|
| private String triggerSchemaName | |
| triggerTable | back to summary |
|---|---|
| private TableDescriptor triggerTable | |
| triggerTableId | back to summary |
|---|---|
| private UUID triggerTableId | |
| whenSPSId | back to summary |
|---|---|
| private UUID whenSPSId | |
| whenText | back to summary |
|---|---|
| private String whenText | |
| CreateTriggerConstantAction | back to summary |
|---|---|
| pack-priv CreateTriggerConstantAction(String triggerSchemaName, String triggerName, int eventMask, boolean isBefore, boolean isRow, boolean isEnabled, TableDescriptor triggerTable, UUID whenSPSId, String whenText, UUID actionSPSId, String actionText, UUID spsCompSchemaId, int[] referencedCols, int[] referencedColsInTriggerAction, String originalWhenText, String originalActionText, boolean referencingOld, boolean referencingNew, String oldReferencingName, String newReferencingName, ProviderInfo[] providerInfo) Make the ConstantAction for a CREATE TRIGGER statement.
| |
| createSPS | back to summary |
|---|---|
| private SPSDescriptor createSPS(LanguageConnectionContext lcc, DataDescriptorGenerator ddg, DataDictionary dd, TransactionController tc, UUID triggerId, SchemaDescriptor sd, UUID spsId, UUID compSchemaId, String text, boolean isWhen, TableDescriptor triggerTable) throws StandardException | |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation) throws StandardException Implements org. This is the guts of the Execution-time logic for CREATE TRIGGER.
| |
| makeCreationTimestamp | back to summary |
|---|---|
| private Timestamp makeCreationTimestamp(DataDictionary dd) throws StandardException Construct the creation timestamp for the trigger. DERBY-5866: Also make sure the creation timestamp is higher than any timestamp on an existing trigger on the same table. Otherwise, the triggers may not fire in the correct order. | |
| 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-
| |