mondrian.olap
Class DriverManager

java.lang.Object
  extended by mondrian.olap.DriverManager

public class DriverManager
extends Object

The basic service for managing a set of OLAP drivers.

Since:
15 January, 2002
Author:
jhyde
 

Constructor Summary
DriverManager()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverManager

public DriverManager()
Method Detail

getConnection

public static Connection getConnection(String connectString,
                                       CatalogLocator locator)
Creates a connection to a Mondrian OLAP Engine using a connect string and a catalog locator.

Post-condition:
return != null
Parameters:
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.
Returns:
A Connection

getConnection

public static Connection getConnection(Util.PropertyList properties,
                                       CatalogLocator locator)
Creates a connection to a Mondrian OLAP Engine.

Post-condition:
return != null
Parameters:
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.
Returns:
A Connection

getConnection

public 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.

Post-condition:
return != null
Parameters:
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 Mondrian
Returns:
A Connection

SourceForge.net_Logo