Class InstallationApi


  • @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
               date="2025-01-14T12:14:13.169293868Z[Etc/UTC]")
    public class InstallationApi
    extends Object
    • Constructor Detail

      • InstallationApi

        public InstallationApi()
      • InstallationApi

        public InstallationApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • setHeadersOverrides

        public void setHeadersOverrides​(Map<String,​String> headers)
      • listInstalledExtensions

        public InstallationsResponse listInstalledExtensions​(String dbHost,
                                                             Integer dbPort)
                                                      throws ApiException
        List installed extensions Get a list of all installed extensions.
        Parameters:
        dbHost - Exasol database hostname (required)
        dbPort - Exasol database port number (required)
        Returns:
        InstallationsResponse
        Throws:
        ApiException - if fails to make API call
      • uninstallExtension

        public void uninstallExtension​(String extensionId,
                                       String extensionVersion,
                                       String dbHost,
                                       Integer dbPort)
                                throws ApiException
        Uninstall an extension. This uninstalls an extension in a given version, e.g. by removing Adapter Scripts.
        Parameters:
        extensionId - The ID of the installed extension to uninstall (required)
        extensionVersion - The version of the installed extension to uninstall (required)
        dbHost - Exasol database hostname (required)
        dbPort - Exasol database port number (required)
        Throws:
        ApiException - if fails to make API call
      • upgradeExtension

        public UpgradeExtensionResponse upgradeExtension​(String extensionId,
                                                         String dbHost,
                                                         Integer dbPort)
                                                  throws ApiException
        Upgrade an extension. This upgrades all instances of an extension to the latest version, e.g. by updating the JAR used in adapter scripts to the latest version.
        Parameters:
        extensionId - The ID of the installed extension to upgrade (required)
        dbHost - Exasol database hostname (required)
        dbPort - Exasol database port number (required)
        Returns:
        UpgradeExtensionResponse
        Throws:
        ApiException - if fails to make API call