public class MergeConstantAction extends java.lang.Object implements ConstantAction, Formatable
| Modifier and Type | Field and 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 and Description |
|---|
MergeConstantAction()
0-arg constructor needed by Formatable machinery
|
MergeConstantAction(ConstantAction[] matchingClauses)
Construct from thin air.
|
| Modifier and Type | Method and 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.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.