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 and 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 and 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.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.