Package mondrian.olap4j
Interface CatalogFinder
-
public interface CatalogFinderStrategy to locate schemas and catalogs. Allows differentserversto do things differently.- Since:
- 2010/11/12
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getCatalogNames(RolapConnection connection)Returns a list of catalogs.Map<String,RolapSchema>getRolapSchemas(RolapConnection connection, String catalogName)Returns a list of (schema name, schema) pairs in a catalog of a particular name.
-
-
-
Method Detail
-
getCatalogNames
List<String> getCatalogNames(RolapConnection connection)
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
Map<String,RolapSchema> getRolapSchemas(RolapConnection connection, String catalogName)
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
-
-