Interface CatalogFinder

  • All Known Implementing Classes:
    MondrianServerImpl

    public interface CatalogFinder
    Strategy to locate schemas and catalogs. Allows different servers to do things differently.
    Since:
    2010/11/12
    Author:
    jhyde
    • Method Detail

      • getCatalogNames

        java.util.List<java.lang.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

        java.util.Map<java.lang.String,​RolapSchema> getRolapSchemas​(RolapConnection connection,
                                                                          java.lang.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