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 Summary

    Modifier and Type
    Method
    Description
    lookupChild(OlapElement parent, org.olap4j.mdx.IdentifierSegment segment)
    Looks up a child element.
    lookupChild(OlapElement parent, org.olap4j.mdx.IdentifierSegment segment, MatchType matchType)
    Looks up a child element, using a match type for inexact matching.
  • Method Details

    • lookupChild

      OlapElement lookupChild(OlapElement parent, org.olap4j.mdx.IdentifierSegment segment, MatchType matchType)
      Looks up a child element, using a match type for inexact matching.

      If matchType is MatchType.EXACT, effect is identical to calling lookupChild(OlapElement, org.olap4j.mdx.IdentifierSegment).

      Match type is ignored except when searching for members.

      Parameters:
      parent - Parent element
      segment - Name segment
      matchType - Match type
      Returns:
      Olap element, or null
    • 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