mondrian.rolap
Class RolapAxis.MemberIterable

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

public static class RolapAxis.MemberIterable
extends RolapAxis

A MemberIterable takes an Iterable<Member> where each Position has a single Member 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.MemberIterable.MIPosition
          A List<Member> which only implements the 'iterator' method.
(package private)  class RolapAxis.MemberIterable.MLPosition
          Allows access only the the Member at the given offset.
(package private)  class RolapAxis.MemberIterable.PositionIter
          PositionIter is a List<Position> that only support the 'iterator' method.
(package private)  class RolapAxis.MemberIterable.PositionList
          Each Position has a single Member.
(package private)  class RolapAxis.MemberIterable.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.MemberIterable(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.MemberIterable

public RolapAxis.MemberIterable(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