org.apache.derby.impl.sql.execute
Class LockTableConstantAction

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.LockTableConstantAction
All Implemented Interfaces:
ConstantAction

 class LockTableConstantAction
extends java.lang.Object
implements ConstantAction

This class describes actions that are ALWAYS performed for a LOCK TABLE Statement at Execution time.


Field Summary
private  long conglomerateNumber
           
private  boolean exclusiveMode
           
private  java.lang.String fullTableName
           
 
Constructor Summary
LockTableConstantAction(java.lang.String fullTableName, long conglomerateNumber, boolean exclusiveMode)
          Make the ConstantAction for a LOCK TABLE statement.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for LOCK TABLE.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fullTableName

private final java.lang.String fullTableName

conglomerateNumber

private final long conglomerateNumber

exclusiveMode

private final boolean exclusiveMode
Constructor Detail

LockTableConstantAction

LockTableConstantAction(java.lang.String fullTableName,
                        long conglomerateNumber,
                        boolean exclusiveMode)
Make the ConstantAction for a LOCK TABLE statement.

Parameters:
fullTableName - Full name of the table.
conglomerateNumber - Conglomerate number for the heap
exclusiveMode - Whether or not to get an exclusive lock.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

executeConstantAction

public void executeConstantAction(Activation activation)
                           throws StandardException
This is the guts of the Execution-time logic for LOCK TABLE.

Specified by:
executeConstantAction in interface ConstantAction
Parameters:
activation - The execution environment for this constant action.
Throws:
StandardException - Thrown on failure
See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.