mondrian.rolap
Class RolapSchema.Pool
java.lang.Object
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(String, DataSource, 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) Iterator<RolapSchema> |
getRolapSchemas()
This returns an iterator over a copy of the RolapSchema's container. |
(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 |
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
Iterator<RolapSchema> getRolapSchemas()
- This returns an iterator over a copy of the RolapSchema's container.
- Returns:
- Iterator over RolapSchemas
contains
boolean contains(RolapSchema rolapSchema)