AlterConstraintConstantAction
, AlterTableConstantAction
, ConstraintConstantAction
, CreateAliasConstantAction
, CreateConstraintConstantAction
, CreateIndexConstantAction
, CreateRoleConstantAction
, CreateSchemaConstantAction
, CreateSequenceConstantAction
, CreateTableConstantAction
, CreateTriggerConstantAction
, CreateViewConstantAction
, DDLConstantAction
, DDLSingleTableConstantAction
, DeleteConstantAction
, DropAliasConstantAction
, DropConstraintConstantAction
, DropIndexConstantAction
, DropRoleConstantAction
, DropSchemaConstantAction
, DropSequenceConstantAction
, DropStatisticsConstantAction
, DropTableConstantAction
, DropTriggerConstantAction
, DropViewConstantAction
, GrantRevokeConstantAction
, GrantRoleConstantAction
, IndexConstantAction
, InsertConstantAction
, LockTableConstantAction
, MatchingClauseConstantAction
, MergeConstantAction
, RenameConstantAction
, RevokeRoleConstantAction
, SavepointConstantAction
, SetConstraintsConstantAction
, SetRoleConstantAction
, SetSchemaConstantAction
, SetTransactionIsolationConstantAction
, UpdatableVTIConstantAction
, UpdateConstantAction
, WriteCursorConstantAction
public interface ConstantAction
An object satisfying this interface is put into the PreparedStatement and run at Execution time. Thus ConstantActions may be shared across threads and must not store connection/thread specific information in any instance field.
Modifier and Type | Field | Description |
---|---|---|
static int |
WHEN_MATCHED_THEN_DELETE |
clauseType for WHEN MATCHED ...
|
static int |
WHEN_MATCHED_THEN_UPDATE |
clauseType for WHEN MATCHED ...
|
static int |
WHEN_NOT_MATCHED_THEN_INSERT |
clauseType for WHEN NOT MATCHED ...
|
Modifier and Type | Method | Description |
---|---|---|
void |
executeConstantAction(Activation activation) |
Run the ConstantAction.
|
static final int WHEN_NOT_MATCHED_THEN_INSERT
static final int WHEN_MATCHED_THEN_UPDATE
static final int WHEN_MATCHED_THEN_DELETE
void executeConstantAction(Activation activation) throws StandardException
activation
- The execution environment for this constant action.StandardException
- Thrown on failureApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.