mondrian.olap
Interface Evaluator.NamedSetEvaluator

All Known Implementing Classes:
RolapNamedSetEvaluator
Enclosing interface:
Evaluator

public static interface Evaluator.NamedSetEvaluator

Interface for evaluating a particular named set.


Method Summary
 Member currentMember()
          Returns the current member in the named set.
 int currentOrdinal()
          Returns the ordinal of the current member or tuple in the named set.
 Member[] currentTuple()
          Returns the current tuple in the named set.
 java.lang.Iterable<Member> evaluateMemberIterable()
          Returns an iterable over the members of the named set.
 java.lang.Iterable<Member[]> evaluateTupleIterable()
          Returns an iterator over the tuples of the named set.
 

Method Detail

evaluateMemberIterable

java.lang.Iterable<Member> evaluateMemberIterable()
Returns an iterable over the members of the named set. Applicable if the named set is a set of members.

The iterator from this iterable maintains the current ordinal property required for the methods currentOrdinal() and currentMember().

Returns:
Iterable over the members of the set

evaluateTupleIterable

java.lang.Iterable<Member[]> evaluateTupleIterable()
Returns an iterator over the tuples of the named set. Applicable if the named set is a set of tuples.

The iterator from this iterable maintains the current ordinal property required for the methods currentOrdinal() and currentTuple().

Returns:
Iterable over the tuples of the set

currentOrdinal

int currentOrdinal()
Returns the ordinal of the current member or tuple in the named set.

Returns:
Ordinal of the current member or tuple in the named set

currentMember

Member currentMember()
Returns the current member in the named set.

Applicable if the named set is a set of members.

Returns:
Current member

currentTuple

Member[] currentTuple()
Returns the current tuple in the named set.

Applicable if the named set is a set of tuples.

Returns:
Current tuple.

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads