class LockTableConstantAction extends java.lang.Object implements ConstantAction
Modifier and Type | Field and Description |
---|---|
private long |
conglomerateNumber |
private boolean |
exclusiveMode |
private java.lang.String |
fullTableName |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Constructor and Description |
---|
LockTableConstantAction(java.lang.String fullTableName,
long conglomerateNumber,
boolean exclusiveMode)
Make the ConstantAction for a LOCK TABLE statement.
|
Modifier and Type | Method and Description |
---|---|
void |
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for LOCK TABLE.
|
java.lang.String |
toString() |
private final java.lang.String fullTableName
private final long conglomerateNumber
private final boolean exclusiveMode
LockTableConstantAction(java.lang.String fullTableName, long conglomerateNumber, boolean exclusiveMode)
fullTableName
- Full name of the table.conglomerateNumber
- Conglomerate number for the heapexclusiveMode
- Whether or not to get an exclusive lock.public java.lang.String toString()
toString
in class java.lang.Object
public void executeConstantAction(Activation activation) throws StandardException
executeConstantAction
in interface ConstantAction
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.