/* // $Id: //guest/paul_dymecki/mondrian/src/main/mondrian/olap/fun/Funk.java#1 $ // (C) Copyright 2002 Kana Software, Inc. // This software is subject to the terms of the Common Public License // Agreement, available at the following URL: // http://www.opensource.org/licenses/cpl.html. // (C) Copyright 2002 Kana Software, Inc. and others. // All Rights Reserved. // You must accept the terms of that agreement to use this software. // // jhyde, 28 February, 2002 */ package mondrian.olap.fun; import mondrian.olap.Evaluator; import mondrian.olap.Exp; import mondrian.test.Testable; /** * A <code>Funk</code> is like a {@link FunDef}, but not so self-aware. * * @author jhyde * @since 28 February, 2002 * @version $Id: //guest/paul_dymecki/mondrian/src/main/mondrian/olap/fun/Funk.java#1 $ **/ interface Funk extends Testable { /** * Evaluates this function with the given set of expressions. The * implementation will often evaluate the expressions first. For example, * <code>TopCount([Promotion Media].members, 2 + 3, [Measures].[Unit * Sales])</code> would evaluate the first and second arguments, but not * the third. **/ Object evaluate(Evaluator evaluator, Exp[] args); } // End Funk.java
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1820 | Paul Robert Dymecki | mondrian: Integrate latest from //guest/julian_hyde | ||
//guest/julian_hyde/mondrian/src/main/mondrian/olap/fun/Funk.java | |||||
#2 | 1603 | Julian Hyde |
mondrian: Add Andreas' taglib; Rename 'mondrian.rolap.Util.assert' to 'assertTrue', because 'assert' is a keyword in jdk 1.4; Fix 'NON EMPTY'; JUnit framework for tests; Add Oracle dataset. |
||
#1 | 1499 | Julian Hyde |
Mondrian: Re-organize functions and type-checking Add mondrian.olap.fun package |