Documentation of 'org.apache.derby.impl.sql.execute.JarUtil' Java class
JarUtil
org.apache.derby.impl.sql.execute

Class JarUtil



  • public class JarUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void drop(LanguageConnectionContext lcc, java.lang.String schemaName, java.lang.String sqlName)
      Drop a jar file from the current connection's database.
      static long install(LanguageConnectionContext lcc, java.lang.String schemaName, java.lang.String sqlName, java.lang.String externalPath)
      install a jar file to the current connection's database.
      static java.lang.String mkExternalName(UUID id, java.lang.String schemaName, java.lang.String sqlName, char separatorChar)
      Make an external name for a jar file stored in the database.
      static long replace(LanguageConnectionContext lcc, 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.
      static void upgradeJar(TransactionController tc, FileInfoDescriptor fid)
      Upgrade code: upgrade one jar file to new style (>= 10.9)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • install

        public static long install(LanguageConnectionContext lcc,
                                   java.lang.String schemaName,
                                   java.lang.String sqlName,
                                   java.lang.String externalPath)
                            throws StandardException
        install a jar file to the current connection's database.
        Parameters:
        schemaName - the name for the schema that holds the jar file.
        sqlName - the sql name for the jar file.
        externalPath - the path for the jar file to add.
        Returns:
        The generationId for the jar file we add.
        Throws:
        StandardException - Opps
      • drop

        public static void drop(LanguageConnectionContext lcc,
                                java.lang.String schemaName,
                                java.lang.String sqlName)
                         throws StandardException
        Drop a jar file from the current connection's database.
        Parameters:
        schemaName - the name for the schema that holds the jar file.
        sqlName - the sql name for the jar file.
        Throws:
        StandardException - Opps
      • replace

        public static long replace(LanguageConnectionContext lcc,
                                   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.
        Parameters:
        schemaName - the name for the schema that holds the jar file.
        sqlName - the sql name for the jar file.
        externalPath - the path for the jar file to add.
        Returns:
        The new generationId for the jar file we replace.
        Throws:
        StandardException - Opps
      • mkExternalName

        public static java.lang.String mkExternalName(UUID id,
                                                      java.lang.String schemaName,
                                                      java.lang.String sqlName,
                                                      char separatorChar)
                                               throws StandardException
        Make an external name for a jar file stored in the database.
        Throws:
        StandardException

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.