| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private transient ResultSet | |
| private int | |
| private transient GeneratedMethod | |
| private String | |
| private String | |
| private transient GeneratedMethod | |
| private String | |
| private ConstantAction | |
| private ResultDescription | |
| private static final int | |
| private static final long | serialVersionUID
Serial version produced by the serialver utility. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MatchingClauseConstantAction(int
WHEN_NOT_MATCHED_THEN_INSERT, WHEN_MATCHED_THEN_UPDATE, WHEN_MATCHED_THEN_DELETE clauseType, String Name of the method which evaluates the boolean expression in the WHEN clause. matchRefinementName, ResultDescription The shape of the row which goes into the temporary table. thenColumnSignature, String Name of the method which populates the "then" row with expressions from the driving left join. rowMakingMethodName, String Name of the field which will be stuffed at runtime with the temporary table of relevant rows. resultSetFieldName, String Name of the method which invokes the INSERT/UPDATE/DELETE action. actionMethodName, ConstantAction The ConstantAction describing the associated INSERT/UPDATE/DELETE action. thenAction)Construct from thin air. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv TemporaryRowHolderImpl | bufferThenRow(Activation activation, TemporaryRowHolderImpl thenRows, ExecRow selectRow)
Construct and buffer a row for the INSERT/UPDATE/DELETE action corresponding to this [ NOT ] MATCHED clause. |
| private ExecRow | bufferThenRow(Activation activation)
Construct and buffer a row for the INSERT/UPDATE/DELETE action corresponding to this [ NOT ] MATCHED clause. |
| public int | clauseType()
Get the clause type: WHEN_NOT_MATCHED_THEN_INSERT, WHEN_MATCHED_THEN_UPDATE, WHEN_MATCHED_THEN_DELETE |
| pack-priv void | |
| private TemporaryRowHolderImpl | createThenRows(Activation activation)
Create the temporary table for holding the rows which are buffered up for bulk-processing after the driving left join completes. |
| pack-priv boolean | evaluateRefinementClause(Activation activation)
Run the matching refinement clause associated with this WHEN [ NOT ] MATCHED clause. |
| public void | executeConstantAction(Activation
The execution environment for this constant action. activation)Implements org. Run the ConstantAction. |
| public void | |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| pack-priv void | init()
Initialize this constant action, nulling out any transient state left over from a previous use. |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public void | writeExternal(ObjectOutput
write bytes here. out)Implements java. Write this object to a stream of stored objects. |
| _actionMethodName | back to summary |
|---|---|
| private String _actionMethodName | |
| _actionRS | back to summary |
|---|---|
| private transient ResultSet _actionRS | |
| _clauseType | back to summary |
|---|---|
| private int _clauseType | |
| _matchRefinementMethod | back to summary |
|---|---|
| private transient GeneratedMethod _matchRefinementMethod | |
| _matchRefinementName | back to summary |
|---|---|
| private String _matchRefinementName | |
| _resultSetFieldName | back to summary |
|---|---|
| private String _resultSetFieldName | |
| _rowMakingMethod | back to summary |
|---|---|
| private transient GeneratedMethod _rowMakingMethod | |
| _rowMakingMethodName | back to summary |
|---|---|
| private String _rowMakingMethodName | |
| _thenAction | back to summary |
|---|---|
| private ConstantAction _thenAction | |
| _thenColumnSignature | back to summary |
|---|---|
| private ResultDescription _thenColumnSignature | |
| FIRST_VERSION | back to summary |
|---|---|
| private static final int FIRST_VERSION | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version produced by the serialver utility. Needed in order to make serialization work reliably across different compilers. | |
| MatchingClauseConstantAction | back to summary |
|---|---|
| public MatchingClauseConstantAction() 0-arg constructor needed by Formatable machinery | |
| MatchingClauseConstantAction | back to summary |
|---|---|
| public MatchingClauseConstantAction(int clauseType, String matchRefinementName, ResultDescription thenColumnSignature, String rowMakingMethodName, String resultSetFieldName, String actionMethodName, ConstantAction thenAction) Construct from thin air.
| |
| bufferThenRow | back to summary |
|---|---|
| pack-priv TemporaryRowHolderImpl bufferThenRow(Activation activation, TemporaryRowHolderImpl thenRows, ExecRow selectRow) throws StandardException Construct and buffer a row for the INSERT/UPDATE/DELETE action corresponding to this [ NOT ] MATCHED clause. The buffered row is built from columns in the passed-in row. The passed-in row is the SELECT list of the MERGE statement's driving left join. | |
| bufferThenRow | back to summary |
|---|---|
| private ExecRow bufferThenRow(Activation activation) throws StandardException Construct and buffer a row for the INSERT/UPDATE/DELETE action corresponding to this [ NOT ] MATCHED clause. | |
| clauseType | back to summary |
|---|---|
| public int clauseType() Get the clause type: WHEN_NOT_MATCHED_THEN_INSERT, WHEN_MATCHED_THEN_UPDATE, WHEN_MATCHED_THEN_DELETE | |
| cleanUp | back to summary |
|---|---|
| pack-priv void cleanUp() throws StandardException Release resources at the end. | |
| createThenRows | back to summary |
|---|---|
| private TemporaryRowHolderImpl createThenRows(Activation activation) throws StandardException Create the temporary table for holding the rows which are buffered up for bulk-processing after the driving left join completes. | |
| evaluateRefinementClause | back to summary |
|---|---|
| pack-priv boolean evaluateRefinementClause(Activation activation) throws StandardException Run the matching refinement clause associated with this WHEN [ NOT ] MATCHED clause. The refinement is a boolean expression. Return the boolean value it resolves to. A boolean NULL is treated as false. If there is no refinement clause, then this method evaluates to true. | |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation) throws StandardException Implements org. Doc from org. Run the ConstantAction.
| |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation, TemporaryRowHolderImpl thenRows) throws StandardException | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| init | back to summary |
|---|---|
| pack-priv void init() throws StandardException Initialize this constant action, nulling out any transient state left over from a previous use. | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object to a stream of stored objects.
| |