Package mondrian.olap4j
Interface CatalogFinder
public interface CatalogFinder
Strategy to locate schemas and catalogs. Allows different
servers
to do things differently.- Since:
- 2010/11/12
- Author:
- jhyde
-
Method Summary
Modifier and TypeMethodDescriptiongetCatalogNames
(RolapConnection connection) Returns a list of catalogs.getRolapSchemas
(RolapConnection connection, String catalogName) Returns a list of (schema name, schema) pairs in a catalog of a particular name.
-
Method Details
-
getCatalogNames
Returns a list of catalogs.The catalog names occur in the natural order of the repository.
- Parameters:
connection
- Connection to mondrian we want the catalog children.- Returns:
- List of catalogs
-
getRolapSchemas
Returns a list of (schema name, schema) pairs in a catalog of a particular name.The name of the schema may not be the same as the value returned by
RolapSchema.getName()
. In fact, a given schema may occur multiple times in the same catalog with different names.The schemas occur in the natural order of the repository.
- Parameters:
connection
- Connection to mondriancatalogName
- Name of catalog- Returns:
- List of catalogs
-