KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mondrian > calc > IterCalc


1 /*
2 // $Id: //open/mondrian/src/main/mondrian/calc/IterCalc.java#2 $
3 // This software is subject to the terms of the Common Public License
4 // Agreement, available at the following URL:
5 // http://www.opensource.org/licenses/cpl.html.
6 // Copyright (C) 2006-2007 Julian Hyde
7 // All Rights Reserved.
8 // You must accept the terms of that agreement to use this software.
9 */

10 package mondrian.calc;
11
12 import mondrian.olap.Evaluator;
13
14 import java.util.List JavaDoc;
15
16 /**
17  * Expression which evaluates a set of members or tuples to an Iterable.
18  *
19  * @author Richard Emberson
20  * @version $Id: //open/mondrian/src/main/mondrian/calc/IterCalc.java#2 $
21  * @since Jan 11, 2007
22  */

23 public interface IterCalc extends Calc {
24     /**
25      * Evaluates an expression to yield an Iterable of members or tuples.
26      *
27      * <p>The Iterable is immutable.
28      *
29      * @param evaluator Evaluation context
30      * @return An Iterable of members or tuples, never null.
31      */

32     Iterable JavaDoc evaluateIterable(Evaluator evaluator);
33 }
34
35 // End IterCalc.java
36
Popular Tags