Interface Database

    • Method Detail

      • getOlapConnection

        OlapConnection getOlapConnection()
        Retrieves the parent OlapConnection of this Database object.
        Returns:
        The parent conenction object.
      • getName

        java.lang.String getName()
                          throws OlapException
        Returns the unique name of this Database.
        Returns:
        The database name.
        Throws:
        OlapException - if error occurs.
      • getDescription

        java.lang.String getDescription()
                                 throws OlapException
        Returns a human-readable description of this Database.
        Returns:
        The database description. Can be null.
        Throws:
        OlapException - if error occurs.
      • getURL

        java.lang.String getURL()
                         throws OlapException
        Returns a redirection URL. This value is used only in distributed architectures. An OLAP server can serve as a frontal distribution server and redirect clients to delegate servers.

        Implementations are free to implement a distributed system. Most implementations don't make any use of it and will return the same URL which was used to connect in the first place.

        Returns:
        The database URL. Can be null.
        Throws:
        OlapException - if error occurs.
      • getDataSourceInfo

        java.lang.String getDataSourceInfo()
                                    throws OlapException
        Returns provider-specific information.
        Returns:
        A string containing provider-specific information.
        Throws:
        OlapException - if error cccurs
      • getProviderName

        java.lang.String getProviderName()
                                  throws OlapException
        Returns the name of the underlying OLAP provider.

        This usually is the server vendor name, for example "Mondrian" or "MSOLAP".

        Returns:
        The provider name.
        Throws:
        OlapException - if error occurs.