Package mondrian.olap

Interface NameResolver.Namespace

  • All Known Implementing Classes:
    RolapSchemaReader
    Enclosing class:
    NameResolver

    public static interface NameResolver.Namespace
    Naming context within which elements are defined.

    Elements' names are hierarchical, so elements are resolved one name segment at a time. It is possible for an element to be defined in a different namespace than its parent: for example, stored member [Dim].[Hier].[X].[Y] might have a child [Dim].[Hier].[X].[Y].[Z] which is a calculated member defined using a WITH MEMBER clause.

    • Method Detail

      • lookupChild

        OlapElement lookupChild​(OlapElement parent,
                                org.olap4j.mdx.IdentifierSegment segment)
        Looks up a child element.
        Parameters:
        parent - Parent element
        segment - Name segment
        Returns:
        Olap element, or null