java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, ConstantActionpublic class MergeConstantAction extends java.lang.Object implements ConstantAction, Formatable
| Modifier and Type | Field | Description |
|---|---|---|
private MatchingClauseConstantAction[] |
_matchingClauses |
|
private static int |
FIRST_VERSION |
Serial version produced by the serialver utility.
|
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT| Constructor | Description |
|---|---|
MergeConstantAction() |
0-arg constructor needed by Formatable machinery
|
MergeConstantAction(ConstantAction[] matchingClauses) |
Construct from thin air.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
executeConstantAction(Activation activation) |
Run the ConstantAction.
|
MatchingClauseConstantAction |
getMatchingClause(int idx) |
Get the ith (0-based) matching clause
|
int |
getTypeFormatId() |
Get the formatID which corresponds to this class.
|
int |
matchingClauseCount() |
Get the number of matching clauses
|
void |
readExternal(java.io.ObjectInput in) |
Read this object from a stream of stored objects.
|
void |
writeExternal(java.io.ObjectOutput out) |
Write this object to a stream of stored objects.
|
private static final int FIRST_VERSION
private MatchingClauseConstantAction[] _matchingClauses
public MergeConstantAction()
public MergeConstantAction(ConstantAction[] matchingClauses)
matchingClauses - Constant actions for WHEN [ NOT ] MATCHED clauses.public int matchingClauseCount()
public MatchingClauseConstantAction getMatchingClause(int idx)
public void executeConstantAction(Activation activation) throws StandardException
ConstantActionexecuteConstantAction in interface ConstantActionactivation - The execution environment for this constant action.StandardException - Thrown on failurepublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.java.io.IOException - thrown on errorjava.lang.ClassNotFoundException - thrown on errorpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here.java.io.IOException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.