Interface TupleReader.MemberBuilder

All Known Implementing Classes:
RolapCubeHierarchy.RolapCubeSqlMemberSource
Enclosing interface:
TupleReader

public static interface TupleReader.MemberBuilder
Factory to create new members for a hierarchy from SQL result.
Since:
Nov 11, 2005
Author:
av
  • Method Details

    • getMemberCache

      mondrian.rolap.MemberCache getMemberCache()
      Returns the MemberCache to look up members before creating them.
      Returns:
      member cache
    • getMemberCacheLock

      Object getMemberCacheLock()
      Returns the object which acts as the member cache synchronization lock.
      Returns:
      Object to lock
    • makeMember

      RolapMember makeMember(RolapMember parentMember, RolapLevel childLevel, Object value, Object captionValue, boolean parentChild, SqlStatement stmt, Object key, int column) throws SQLException
      Creates a new member (together with its properties).
      Parameters:
      parentMember - Parent member
      childLevel - Child level
      value - Member value
      captionValue - Caption
      parentChild - Whether a parent-child hierarchy
      stmt - SQL statement
      key - Member key
      column - Column ordinal (0-based)
      Returns:
      new member
      Throws:
      SQLException - on error
    • allMember

      RolapMember allMember()
      Returns the 'all' member of the hierarchy.
      Returns:
      The 'all' member