public class DriverManager extends Object
| Constructor and Description | 
|---|
DriverManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Connection | 
getConnection(String connectString,
             CatalogLocator locator)
Creates a connection to a Mondrian OLAP Engine
 using a connect string
 and a catalog locator. 
 | 
static Connection | 
getConnection(Util.PropertyList properties,
             CatalogLocator locator)
Creates a connection to a Mondrian OLAP Engine. 
 | 
static Connection | 
getConnection(Util.PropertyList properties,
             CatalogLocator locator,
             DataSource dataSource)
Creates a connection to a Mondrian OLAP Engine
 using a list of connection properties,
 a catalog locator,
 and a JDBC data source. 
 | 
public static Connection getConnection(String connectString, CatalogLocator locator)
connectString - Connect string of the form
   'property=value;property=value;...'.
   See Util.parseConnectString(java.lang.String) for more details of the format.
   See RolapConnectionProperties for a list of
   allowed properties.locator - Use to locate real catalog url by a customized
   configuration value. If null, leave the catalog url
   unchanged.Connection, never nullpublic static Connection getConnection(Util.PropertyList properties, CatalogLocator locator)
properties - Collection of properties which define the location
   of the connection.
   See RolapConnection for a list of allowed properties.locator - Use to locate real catalog url by a customized
   configuration value. If null, leave the catalog url
   unchanged.Connection, never nullpublic static Connection getConnection(Util.PropertyList properties, CatalogLocator locator, DataSource dataSource)
properties - Collection of properties which define the location
   of the connection.
   See RolapConnection for a list of allowed properties.locator - Use to locate real catalog url by a customized
   configuration value. If null, leave the catalog url
   unchanged.dataSource - - if not null an external DataSource to be used
        by MondrianConnection, never nullCopyright © 2019 Hitachi Vantara. All rights reserved.