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

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.ReplaceJarConstantAction
All Implemented Interfaces:
ConstantAction

class ReplaceJarConstantAction
extends DDLConstantAction

Constant action to Add an external Jar file to a database.


Field Summary
private  java.lang.String externalPath
           
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) ReplaceJarConstantAction(UUID id, java.lang.String schemaName, java.lang.String sqlName, java.lang.String externalPath)
          Make the ConstantAction to replace a jar file in a 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

externalPath

private final java.lang.String externalPath
Constructor Detail

ReplaceJarConstantAction

ReplaceJarConstantAction(UUID id,
                         java.lang.String schemaName,
                         java.lang.String sqlName,
                         java.lang.String externalPath)
Make the ConstantAction to replace a jar file in a 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()

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

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