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 Details

    • 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 mondrian
      catalogName - Name of catalog
      Returns:
      List of catalogs