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

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.GenericConstantAction
      extended byorg.apache.derby.impl.sql.execute.DDLConstantAction
          extended byorg.apache.derby.impl.sql.execute.DropJarConstantAction
All Implemented Interfaces:
ConstantAction

class DropJarConstantAction
extends DDLConstantAction

Constant action to drop an external jar file from a database.


Field Summary
private  UUID id
           
private  java.lang.String schemaName
           
private  java.lang.String sqlName
           
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
RUNTIMESTATISTICS, STATISTICSTIMING
 
Constructor Summary
(package private) DropJarConstantAction(UUID id, java.lang.String schemaName, java.lang.String sqlName)
          Make the ConstantAction to drop a jar file to database.
 
Method Summary
 void executeConstantAction(Activation activation)
          Run the ConstantAction.
protected  boolean purgeOnCommit()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, modifiesTableId, readExternal, upToDate, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private final UUID id

schemaName

private final java.lang.String schemaName

sqlName

private final java.lang.String sqlName
Constructor Detail

DropJarConstantAction

DropJarConstantAction(UUID id,
                      java.lang.String schemaName,
                      java.lang.String sqlName)
Make the ConstantAction to drop a jar file to database.

Parameters:
id - The id for the jar file
schemaName - The SchemaName for the jar file.
sqlName - The sqlName for the jar file.
Method Detail

toString

public java.lang.String toString()

executeConstantAction

public void executeConstantAction(Activation activation)
                           throws StandardException
Description copied from interface: ConstantAction
Run the 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)

purgeOnCommit

protected boolean purgeOnCommit()


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.