mondrian.rolap
Class RolapAxis.MemberArrayIterable

java.lang.Object
  extended by mondrian.rolap.RolapAxis
      extended by mondrian.rolap.RolapAxis.MemberArrayIterable
All Implemented Interfaces:
Axis
Enclosing class:
RolapAxis

public static class RolapAxis.MemberArrayIterable
extends RolapAxis

A MemberArrayIterable takes an Iterable<Member[]> where each Position has an array of Members from the corresponding location in the iterator. If the client request any of the List, non-Iterable, API, then a List is materialized from the Iterable.

 

Nested Class Summary
(package private)  class RolapAxis.MemberArrayIterable.MALPosition
          Allows access only the the Member at the given offset.
(package private)  class RolapAxis.MemberArrayIterable.MIPosition
          A List<Member> which only implements the 'iterator' method.
(package private)  class RolapAxis.MemberArrayIterable.PositionIter
          PositionIter is a List<Position> that only support the 'iterator' method.
(package private)  class RolapAxis.MemberArrayIterable.PositionList
          Each Position has two or more Members.
(package private)  class RolapAxis.MemberArrayIterable.PositionWrapper
          This List<Position> starts life with a List<Position> implementation that is based upon an non-List (Iterable).
 
Nested classes/interfaces inherited from class mondrian.rolap.RolapAxis
RolapAxis.MemberArrayIterable, RolapAxis.MemberArrayList, RolapAxis.MemberIterable, RolapAxis.MemberList, RolapAxis.NoPosition, RolapAxis.PositionBase, RolapAxis.PositionIterBase, RolapAxis.PositionListBase, RolapAxis.PositionListUnsupported, RolapAxis.PositionUnsupported, RolapAxis.SingleEmptyPosition, RolapAxis.Wrapper
 
Constructor Summary
RolapAxis.MemberArrayIterable(Iterable<Member[]> iter)
           
 
Method Summary
 List<Position> getPositions()
           
protected  void materialize()
           
 
Methods inherited from class mondrian.rolap.RolapAxis
toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolapAxis.MemberArrayIterable

public RolapAxis.MemberArrayIterable(Iterable<Member[]> iter)
Method Detail

getPositions

public List<Position> getPositions()
Specified by:
getPositions in interface Axis
Specified by:
getPositions in class RolapAxis

materialize

protected void materialize()

SourceForge.net_Logo