mondrian.rolap
Class RolapSchema.Pool

java.lang.Object
  extended by mondrian.rolap.RolapSchema.Pool
Enclosing class:
RolapSchema

static class RolapSchema.Pool
extends Object

A collection of schemas, identified by their connection properties (catalog name, JDBC URL, and so forth).

To lookup a schema, call Pool.instance().get(java.lang.String, java.lang.String, java.lang.String, java.lang.String, mondrian.olap.Util.PropertyList).


Method Summary
(package private)  void clear()
           
(package private)  boolean contains(RolapSchema rolapSchema)
           
(package private)  RolapSchema get(String catalogUrl, DataSource dataSource, Util.PropertyList connectInfo)
           
(package private)  RolapSchema get(String catalogUrl, String connectionKey, String jdbcUser, String dataSourceStr, Util.PropertyList connectInfo)
           
(package private)  List<RolapSchema> getRolapSchemas()
          Returns a list of schemas in this pool.
(package private) static RolapSchema.Pool instance()
           
(package private)  void remove(RolapSchema schema)
           
(package private)  void remove(String catalogUrl, DataSource dataSource)
           
(package private)  void remove(String catalogUrl, String connectionKey, String jdbcUser, String dataSourceStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

static RolapSchema.Pool instance()

get

RolapSchema get(String catalogUrl,
                String connectionKey,
                String jdbcUser,
                String dataSourceStr,
                Util.PropertyList connectInfo)

get

RolapSchema get(String catalogUrl,
                DataSource dataSource,
                Util.PropertyList connectInfo)

remove

void remove(String catalogUrl,
            String connectionKey,
            String jdbcUser,
            String dataSourceStr)

remove

void remove(String catalogUrl,
            DataSource dataSource)

remove

void remove(RolapSchema schema)

clear

void clear()

getRolapSchemas

List<RolapSchema> getRolapSchemas()
Returns a list of schemas in this pool.

Returns:
List of schemas in this pool

contains

boolean contains(RolapSchema rolapSchema)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads