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

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.JarDDL

public class JarDDL
extends java.lang.Object


Constructor Summary
JarDDL()
           
 
Method Summary
static void add(java.lang.String schemaName, java.lang.String sqlName, java.lang.String externalPath)
          Add a jar file to the current connection's database.
static void drop(java.lang.String schemaName, java.lang.String sqlName)
          Drop a jar file from the current connection's database.
private static GenericConstantActionFactory getConstantActionFactory()
           
private static java.lang.String getSchemaName(java.lang.String schemaName)
           
static java.lang.String mkExternalName(java.lang.String schemaName, java.lang.String sqlName, char separatorChar)
          Make an external name for a file stored in the database.
static void replace(java.lang.String schemaName, java.lang.String sqlName, java.lang.String externalPath)
          Replace a jar file from the current connection's database with the content of an external file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarDDL

public JarDDL()
Method Detail

add

public static void add(java.lang.String schemaName,
                       java.lang.String sqlName,
                       java.lang.String externalPath)
                throws StandardException
Add a jar file to the current connection's database.

Throws:
StandardException - Opps

drop

public static void drop(java.lang.String schemaName,
                        java.lang.String sqlName)
                 throws StandardException
Drop a jar file from the current connection's database.

Throws:
StandardException - Opps

replace

public static void replace(java.lang.String schemaName,
                           java.lang.String sqlName,
                           java.lang.String externalPath)
                    throws StandardException
Replace a jar file from the current connection's database with the content of an external file.

Throws:
StandardException - Opps

getConstantActionFactory

private static GenericConstantActionFactory getConstantActionFactory()

getSchemaName

private static java.lang.String getSchemaName(java.lang.String schemaName)

mkExternalName

public static java.lang.String mkExternalName(java.lang.String schemaName,
                                              java.lang.String sqlName,
                                              char separatorChar)
Make an external name for a file stored in the database.


Built on Tue 2006-10-10 19:23:47+0200, from revision exported

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